Class DefaultTrustSPMetadata
- java.lang.Object
-
- com.sun.xml.ws.security.trust.impl.DefaultTrustSPMetadata
-
- All Implemented Interfaces:
TrustSPMetadata
public class DefaultTrustSPMetadata extends Object implements TrustSPMetadata
- Author:
- Jiandong Guo
-
-
Constructor Summary
Constructors Constructor Description DefaultTrustSPMetadata(String endpoint)
Creates a new instance of DefaultTrustSPMetedata
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCertAlias()
Gets the alias for the certificate of the service provider.String
getKeyType()
Gets the key type for the service provider.Map<String,Object>
getOtherOptions()
Gets a map that contains attributes that aren't bound to any typed property on this class.String
getTokenType()
Gets the token type for the service provider.void
setCertAlias(String certAlias)
void
setKeyType(String keyType)
void
setTokenType(String tokenType)
-
-
-
Constructor Detail
-
DefaultTrustSPMetadata
public DefaultTrustSPMetadata(String endpoint)
Creates a new instance of DefaultTrustSPMetedata
-
-
Method Detail
-
setCertAlias
public void setCertAlias(String certAlias)
-
getCertAlias
public String getCertAlias()
Description copied from interface:TrustSPMetadata
Gets the alias for the certificate of the service provider.- Specified by:
getCertAlias
in interfaceTrustSPMetadata
- Returns:
- the cert alias of the service provider
-
setTokenType
public void setTokenType(String tokenType)
-
getTokenType
public String getTokenType()
Description copied from interface:TrustSPMetadata
Gets the token type for the service provider.- Specified by:
getTokenType
in interfaceTrustSPMetadata
- Returns:
- the token type of the service provider
-
setKeyType
public void setKeyType(String keyType)
-
getKeyType
public String getKeyType()
Description copied from interface:TrustSPMetadata
Gets the key type for the service provider.- Specified by:
getKeyType
in interfaceTrustSPMetadata
- Returns:
- the key type of the service provider
-
getOtherOptions
public Map<String,Object> getOtherOptions()
Description copied from interface:TrustSPMetadata
Gets a map that contains attributes that aren't bound to any typed property on this class.the map is keyed by the name of the attribute and the value is any object. the map returned by this method is live, and you can add new attribute by updating the map directly.
- Specified by:
getOtherOptions
in interfaceTrustSPMetadata
- Returns:
- always non-null
-
-