Package com.tangosol.net.security
Class DefaultIdentityTransformer
- java.lang.Object
-
- com.tangosol.net.security.DefaultIdentityTransformer
-
- All Implemented Interfaces:
IdentityTransformer
public class DefaultIdentityTransformer extends Object implements 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
Fields Modifier and Type Field Description static DefaultIdentityTransformer
INSTANCE
An instance of the DefaultIdentityTransformer.
-
Constructor Summary
Constructors Constructor Description DefaultIdentityTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
transformIdentity(Subject subject, Service service)
Transform a Subject to a token that asserts an identity.
-
-
-
Field Detail
-
INSTANCE
public static final DefaultIdentityTransformer INSTANCE
An instance of the DefaultIdentityTransformer.
-
-
Method Detail
-
transformIdentity
public Object transformIdentity(Subject subject, Service service)
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.
-
-