public abstract class AbstractSAMLCredentialProvider extends Object implements CredentialProvider
| Constructor and Description |
|---|
AbstractSAMLCredentialProvider()
Deprecated.
Create a new saml credential provider
This should be called when CredentialManager is configured
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getCredential(String tokenType,
String issuerName,
ContextHandler ctxHandler,
Purpose p)
Deprecated.
if CredentialManager is not configured, just return the credential object
otherwise retrieve the saml credential from the CredentialManager
|
Object |
getKeyInfoCredential(String tokenType,
String issuerName,
SecurityTokenContextHandler ctxHandler,
Purpose p)
Deprecated.
|
Object |
getKeyInfoCredential(String tokenType,
String issuerName,
SecurityTokenContextHandler ctxHandler,
Purpose p,
Node claims)
Deprecated.
To be To be overridden by the subclass that supports the symmetric SAML Holder of Key.
|
SAMLAttributeStatementData |
getSAMLAttributeData(Subject authenticatedSubject)
Deprecated.
|
abstract String[] |
getValueTypes()
Deprecated.
Return token types supported by cred providers extending this class.
|
public AbstractSAMLCredentialProvider()
public abstract String[] getValueTypes()
getValueTypes in interface CredentialProviderpublic Object getCredential(String tokenType, String issuerName, ContextHandler ctxHandler, Purpose p)
getCredential in interface CredentialProvidertokenType - saml token typeissuerName - issuer name is not usedctxHandler - context handler to create the new saml credentialp - purpose of saml tokenpublic Object getKeyInfoCredential(String tokenType, String issuerName, SecurityTokenContextHandler ctxHandler, Purpose p)
public Object getKeyInfoCredential(String tokenType, String issuerName, SecurityTokenContextHandler ctxHandler, Purpose p, Node claims)
tokenType - issuerName - ctxHandler - p - claims - public SAMLAttributeStatementData getSAMLAttributeData(Subject authenticatedSubject)