PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.core.wstrust
Interface STSConfiguration

All Superinterfaces:
STSCoreConfig
All Known Implementing Classes:
PicketLinkSTSConfiguration

public interface STSConfiguration
extends STSCoreConfig

The STSConfiguration interface allows access to the security token service (STS) configuration attributes.

Author:
Stefan Guilhen, Anil.Saldhana@redhat.com

Method Summary
 ClaimsProcessor getClaimsProcessor(String claimsDialect)
           Obtains the ClaimsProcessor that must be used to handle claims of the specified dialect.
 WSTrustRequestHandler getRequestHandler()
           Obtains the WS-Trust request handler class.
 String getXMLDSigCanonicalizationMethod()
           Returns the configured canonicalization method.
 
Methods inherited from interface org.picketlink.identity.federation.core.sts.STSCoreConfig
addTokenProvider, copy, encryptIssuedToken, getCertificate, getIssuedTokenTimeout, getProviderForService, getProviderForTokenElementNS, getProviderForTokenType, getProvidersByFamily, getServiceProviderPublicKey, getSTSKeyPair, getSTSName, getTokenProviders, getTokenTypeForService, removeTokenProvider, signIssuedToken
 

Method Detail

getRequestHandler

WSTrustRequestHandler getRequestHandler()

Obtains the WS-Trust request handler class.

Returns:
a reference to the configured WSTrustRequestHandler.

getClaimsProcessor

ClaimsProcessor getClaimsProcessor(String claimsDialect)

Obtains the ClaimsProcessor that must be used to handle claims of the specified dialect.

Parameters:
claimsDialect - a String representing the claims dialect (usually a URL).
Returns:
the ClaimsProcessor to be used, or null if no processor could be found for the dialect.

getXMLDSigCanonicalizationMethod

String getXMLDSigCanonicalizationMethod()

Returns the configured canonicalization method.

NOTE: Defaults to javax.xml.crypto.dsig.CanonicalizationMethod.EXCLUSIVE_WITH_COMMENTS

Returns:

PicketLink Federation Core 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.