Class LocalAuthenticationServerTokenFactoryFactory

java.lang.Object
com.illumon.iris.auth.LocalAuthenticationServerTokenFactoryFactory
All Implemented Interfaces:
TokenAuthenticationClient, TokenFactoryFactory, TokenVerificationClient

public class LocalAuthenticationServerTokenFactoryFactory extends Object implements TokenFactoryFactory
Adapts a LocalAuthenticationServer to a TokenFactoryFactory.

This class is suitable for use when you need to use external services within an Authentication server module. This class is for use inside the authentication server process, so instead of making RPC calls it simply generates a client state with the given user and then can create tokens for that user without any actual authentication. The token factory may only be used for creating new tokens, not verifying tokens.