Package com.tangosol.net.security
Class DefaultIdentityTransformer
java.lang.Object
com.tangosol.net.security.DefaultIdentityTransformer
- All Implemented Interfaces:
IdentityTransformer
The default implementation of the IdentityTransformer interface, which
simply returns the Subject that is passed to it.
- Author:
- dag 2009.12.21
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DefaultIdentityTransformer
An instance of the DefaultIdentityTransformer. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontransformIdentity
(Subject subject, Service service) Transform a Subject to a token that asserts an identity.
-
Field Details
-
INSTANCE
An instance of the DefaultIdentityTransformer.
-
-
Constructor Details
-
DefaultIdentityTransformer
public DefaultIdentityTransformer()
-
-
Method Details
-
transformIdentity
Transform a Subject to a token that asserts an identity.- Specified by:
transformIdentity
in interfaceIdentityTransformer
- Parameters:
subject
- the Subject representing a user.service
- the Service requesting an identity token- Returns:
- the token that asserts identity.
-