Class 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
    • Constructor Detail

      • DefaultIdentityTransformer

        public 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 interface IdentityTransformer
        Parameters:
        subject - the Subject representing a user.
        service - the Service requesting an identity token
        Returns:
        the token that asserts identity.