public class SAMLTrustCredentialProvider extends AbstractSAMLCredentialProvider
| Modifier and Type | Field and Description | 
|---|---|
protected static ContextHandler | 
EMPTY_CONTEXT  | 
protected static String[] | 
SAML_VALUE_TYPES  | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
getCredential(String tokenType,
             String issuerName,
             ContextHandler ctxHandler,
             Purpose p)
if CredentialManager is not configured, just return the credential object
 otherwise retrieve the saml credential from the CredentialManager 
 | 
protected static MessageContext | 
getMessageContext(SecurityTokenContextHandler securityCtxHandler)  | 
protected static SecurityTokenContextHandler | 
getSecurityCtxHandler(ContextHandler ctxHandler)  | 
String[] | 
getValueTypes()
Return token types supported by cred providers extending this class. 
 | 
getKeyInfoCredential, getKeyInfoCredential, getSAMLAttributeDataprotected static final ContextHandler EMPTY_CONTEXT
protected static final String[] SAML_VALUE_TYPES
public Object getCredential(String tokenType, String issuerName, ContextHandler ctxHandler, Purpose p)
AbstractSAMLCredentialProvidergetCredential in interface CredentialProvidergetCredential in class AbstractSAMLCredentialProvidertokenType - saml token typeissuerName - issuer name is not usedctxHandler - context handler to create the new saml credentialp - purpose of saml tokenprotected static SecurityTokenContextHandler getSecurityCtxHandler(ContextHandler ctxHandler)
protected static MessageContext getMessageContext(SecurityTokenContextHandler securityCtxHandler)
public String[] getValueTypes()
AbstractSAMLCredentialProvidergetValueTypes in interface CredentialProvidergetValueTypes in class AbstractSAMLCredentialProvider