org.jboss.identity.federation.bindings.util
Class ValveUtil

java.lang.Object
  extended by org.jboss.identity.federation.bindings.util.ValveUtil

public class ValveUtil
extends java.lang.Object

Util for tomcat valves

Since:
Jan 22, 2009
Author:
Anil.Saldhana@redhat.com

Constructor Summary
ValveUtil()
           
 
Method Summary
static java.lang.String getDomain(java.lang.String domainURL)
          Given a SP or IDP issuer from the assertion, return the host
static IDPType getIDPConfiguration(java.io.InputStream is)
           
static java.io.InputStream getKeyStoreInputStream(java.lang.String keyStore)
          Seek the input stream to the KeyStore
static SPType getSPConfiguration(java.io.InputStream is)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValveUtil

public ValveUtil()
Method Detail

getKeyStoreInputStream

public static java.io.InputStream getKeyStoreInputStream(java.lang.String keyStore)
Seek the input stream to the KeyStore

Parameters:
keyStore -
Returns:

getIDPConfiguration

public static IDPType getIDPConfiguration(java.io.InputStream is)
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getSPConfiguration

public static SPType getSPConfiguration(java.io.InputStream is)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getDomain

public static java.lang.String getDomain(java.lang.String domainURL)
                                  throws java.lang.Exception
Given a SP or IDP issuer from the assertion, return the host

Parameters:
domainURL -
Returns:
Throws:
java.lang.Exception


Copyright © 2009 JBoss Inc.. All Rights Reserved.