|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.security.saml.SAMLIssuerFactory
public abstract class SAMLIssuerFactory
CryptoFactory.
Constructor Summary | |
---|---|
SAMLIssuerFactory()
|
Method Summary | |
---|---|
static SAMLIssuer |
getInstance()
getInstance Returns an instance of SAMLIssuer. |
static SAMLIssuer |
getInstance(Class<? extends SAMLIssuer> samlClass,
Properties properties)
getInstance Returns an instance of SAMLIssuer. |
static SAMLIssuer |
getInstance(String propFilename)
getInstance Returns an instance of SAMLIssuer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SAMLIssuerFactory()
Method Detail |
---|
public static SAMLIssuer getInstance() throws WSSecurityException
saml.properties
to determine which implementation to
use. Thus the property org.apache.ws.security.saml.issuerClass
must define the classname of the SAMLIssuer implementation. The file
may contain other property definitions as well. These properties are
handed over to the SAMLIssuer implementation. The file
saml.properties
is loaded with the
Loader.getResource()
method.
WSSecurityException
- if there is an error in loading the crypto propertiespublic static SAMLIssuer getInstance(Class<? extends SAMLIssuer> samlClass, Properties properties) throws WSSecurityException
null
. It is dependent on the
SAMLIssuer implementation how the initialization is done in this case.
samlClass
- This is the SAMLIssuer implementation class. No default is
provided here.properties
- The Properties that are forwarded to the SAMLIssuer implementation.
These properties are dependent on the SAMLIssuer implementation
WSSecurityException
- if there is an error in loading the crypto propertiespublic static SAMLIssuer getInstance(String propFilename) throws WSSecurityException
org.apache.ws.security.saml.issuerClass
to define the classname of the SAMLIssuer implementation. The file
may contain other property definitions as well. These properties are
handed over to the SAMLIssuer implementation. The specified file
is loaded with the Loader.getResource()
method.
propFilename
- The name of the property file to load
WSSecurityException
- if there is an error in loading the crypto properties
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |