Class UserIdentityResolver<A extends UserAuthentication<B>,B extends Identity>

java.lang.Object
io.inverno.mod.security.identity.UserIdentityResolver<A,B>
Type Parameters:
A - the type of user authenthentication
B - the type of identity
All Implemented Interfaces:
IdentityResolver<A,B>

public class UserIdentityResolver<A extends UserAuthentication<B>,B extends Identity> extends Object implements IdentityResolver<A,B>

Resolves an identity from a UserAuthentication.

A user authentication allows for authentication processes that might include both authentication and identification when applicable. This implementation simply extracts the identity already exposed by UserAuthentication.getIdentity().

Since:
1.5
Author:
Jeremy Kuhn
  • Constructor Details

    • UserIdentityResolver

      public UserIdentityResolver()
  • Method Details