Class STSAgent
- java.lang.Object
-
- com.sun.identity.wss.provider.TrustAuthorityConfig
-
- com.sun.identity.wss.provider.STSConfig
-
- com.sun.identity.wss.provider.plugins.STSAgent
-
public class STSAgent extends STSConfig
-
-
Field Summary
-
Fields inherited from class com.sun.identity.wss.provider.STSConfig
attributeNS, dnsClaim, includeMemberships, kdcDomain, kdcServer, keyType, mexEndpoint, nameIDMapper, protocolVersion, requestedClaims, samlAttributes, servicePrincipal, signedElements, stsConfigName, ticketCacheDir
-
Fields inherited from class com.sun.identity.wss.provider.TrustAuthorityConfig
customAdminToken, DISCOVERY_TRUST_AUTHORITY, encryptionAlgorithm, encryptionStrength, endpoint, isRequestEncrypted, isRequestHeaderEncrypted, isRequestSigned, isResponseEncrypted, isResponseSigned, name, privateKeyAlias, publicKeyAlias, secMech, signingRefType, STS_TRUST_AUTHORITY, type, usercredentials, WSS_DISCOVERY_CONFIG_PLUGIN, WSS_STS_CONFIG_PLUGIN
-
-
Constructor Summary
Constructors Constructor Description STSAgent()Creates a new instance of STSAgentSTSAgent(AMIdentity amIdentity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()Deletes the trust authrority configuration.voidinit(String name, String type, SSOToken token)Initialize the trust authority.voidstore()Saves the trust authority configuration.-
Methods inherited from class com.sun.identity.wss.provider.STSConfig
getDNSClaim, getKDCDomain, getKDCServer, getKerberosServicePrincipal, getKerberosTicketCacheDir, getKeyType, getMexEndpoint, getNameIDMapper, getProtocolVersion, getRequestedClaims, getSAMLAttributeMapping, getSAMLAttributeNamespace, getSignedElements, getSTSConfigName, setDNSClaim, setIncludeMemberships, setKDCDomain, setKDCServer, setKerberosServicePrincipal, setKerberosTicketCacheDir, setKeyType, setMexEndpoint, setNameIDMapper, setProtocolVersion, setRequestedClaims, setSAMLAttributeMapping, setSAMLAttributeNamespace, setSignedElements, setSTSConfigName, shouldIncludeMemberships
-
Methods inherited from class com.sun.identity.wss.provider.TrustAuthorityConfig
deleteConfig, getConfig, getEncryptionAlgorithm, getEncryptionStrength, getEndpoint, getKeyAlias, getName, getPublicKeyAlias, getSecurityMech, getSigningRefType, getType, getUsers, isRequestEncryptEnabled, isRequestHeaderEncryptEnabled, isRequestSignEnabled, isResponseEncryptEnabled, isResponseSignEnabled, saveConfig, setAdminToken, setEncryptionAlgorithm, setEncryptionStrength, setEndpoint, setKeyAlias, setName, setPublicKeyAlias, setRequestEncryptEnabled, setRequestHeaderEncryptEnabled, setRequestSignEnabled, setResponseEncryptEnabled, setResponseSignEnabled, setSecurityMechs, setSigningRefType, setType, setUsers
-
-
-
-
Constructor Detail
-
STSAgent
public STSAgent()
Creates a new instance of STSAgent
-
STSAgent
public STSAgent(AMIdentity amIdentity) throws ProviderException
- Throws:
ProviderException
-
-
Method Detail
-
init
public void init(String name, String type, SSOToken token) throws ProviderException
Description copied from class:TrustAuthorityConfigInitialize the trust authority.- Specified by:
initin classTrustAuthorityConfig- Parameters:
name- the name of the trust authority.type- the type of the trust authority.token- Single sign-on token.- Throws:
ProviderException- if the initialization fails.
-
delete
public void delete() throws ProviderExceptionDescription copied from class:TrustAuthorityConfigDeletes the trust authrority configuration.- Specified by:
deletein classTrustAuthorityConfig- Throws:
ProviderException
-
store
public void store() throws ProviderExceptionDescription copied from class:TrustAuthorityConfigSaves the trust authority configuration.- Specified by:
storein classTrustAuthorityConfig- Throws:
ProviderException- if the trust authority configuration is unable to save.
-
-