|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.picketlink.identity.federation.core.wstrust.WSTrustServiceFactory
public class WSTrustServiceFactory
Factory class used for instantiating pluggable services, such as the WSTrustRequestHandler
and
SecurityTokenProvider
implementations.
Method Summary | |
---|---|
ClaimsProcessor |
createClaimsProcessor(String processorClass,
Map<String,String> properties)
Constructs and returns a ClaimsProcessor from the specified class name. |
WSTrustRequestHandler |
createRequestHandler(String handlerClassName,
STSConfiguration configuration)
Constructs and returns the WSTrustRequestHandler that will be used to handle WS-Trust requests. |
SecurityTokenProvider |
createTokenProvider(String providerClass,
Map<String,String> properties)
Constructs and returns a SecurityTokenProvider from the specified class name. |
static WSTrustServiceFactory |
getInstance()
Obtains a reference to the singleton instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static WSTrustServiceFactory getInstance()
Obtains a reference to the singleton instance.
WSTrustConfigurationFactory
singleton.public WSTrustRequestHandler createRequestHandler(String handlerClassName, STSConfiguration configuration)
Constructs and returns the WSTrustRequestHandler
that will be used to handle WS-Trust requests.
configuration
- a reference to the STSConfiguration
.
WSTrustRequestHandler
object.public SecurityTokenProvider createTokenProvider(String providerClass, Map<String,String> properties)
Constructs and returns a SecurityTokenProvider
from the specified class name.
providerClass
- the FQN of the SecurityTokenProvider
to be instantiated.properties
- a Map<String, String>
containing the properties that have been configured for the token
provider.
SecurityTokenProvider
object.public ClaimsProcessor createClaimsProcessor(String processorClass, Map<String,String> properties)
Constructs and returns a ClaimsProcessor
from the specified class name. The processor is initialized with the
specified properties map.
processorClass
- the FQN of the ClaimsProcessor
to be instantiated.properties
- a Map<String, String>
containing the properties that have been configured for the claims
processor.
ClaimsProcessor
object.
|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |