|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface STSConfiguration
The STSConfiguration
interface allows access to the security token service (STS) configuration attributes.
Method Summary | |
---|---|
boolean |
getEncryptIssuedToken()
Indicates whether the issued token must be encrypted or not. |
long |
getIssuedTokenTimeout()
Obtains the timeout value (in milliseconds) for issued tokens. |
java.util.Map<java.lang.String,java.lang.Object> |
getOptions()
Obtains a Map that contains the non-standard configuration options. |
SecurityTokenProvider |
getProviderForService(java.lang.String serviceName)
Given the name of a service provider, obtains the provider that must be used when issuing tokens to clients of that service. |
SecurityTokenProvider |
getProviderForTokenType(java.lang.String tokenType)
Given a token type, obtains the token provider that should be used to handle token requests of that type. |
java.lang.String |
getSTSName()
Obtains the unique name of the secure token service. |
java.lang.String |
getTokenTypeForService(java.lang.String serviceName)
Given the name of a service provider, obtains the type of the token that should be used when issuing tokens to clients of that service. |
Method Detail |
---|
java.lang.String getSTSName()
Obtains the unique name of the secure token service.
String
representing the STS name.boolean getEncryptIssuedToken()
Indicates whether the issued token must be encrypted or not.
true
if the issued token must be encrypted; false
otherwise.long getIssuedTokenTimeout()
Obtains the timeout value (in milliseconds) for issued tokens.
java.lang.String getTokenTypeForService(java.lang.String serviceName)
Given the name of a service provider, obtains the type of the token that should be used when issuing tokens to clients of that service.
serviceName
- the name of the service provider that requires a token from its clients.
String
representing the type of the token that suits the specified service.SecurityTokenProvider getProviderForService(java.lang.String serviceName)
Given the name of a service provider, obtains the provider that must be used when issuing tokens to clients of
that service. When requesting a token to the STS, a client can specify the service it needs the token for using
the AppliesTo
element. Based on the service provider name, the STS identifies the type of the token that
is to be issued and then selects the appropriate token provider to handle the request.
serviceName
- the name of the service provider that requires a token from its clients.
SecurityTokenProvider
that must be used in order to issue tokens to clients of
the specified service.SecurityTokenProvider getProviderForTokenType(java.lang.String tokenType)
Given a token type, obtains the token provider that should be used to handle token requests of that type. When a
client doesn't specify the service provider name through the AppliesTo
element, it must specify the token
type through the TokenType
element. The STS uses the supplied type to select the appropriate token
provider.
tokenType
- a String
representing the type of the token.
SecurityTokenProvider
that must be used to handle token requests of the
specified type.java.util.Map<java.lang.String,java.lang.Object> getOptions()
Obtains a Map
that contains the non-standard configuration options.
Map<String, Object>
containing the additional configuration options.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |