Interface AuthContextWithState
- 
- All Known Implementing Classes:
 FallbackAuthContext
public interface AuthContextWithStateAsyncServerAuthContextimplementations should implement this interface when theAsyncServerAuthContexthas its own implementation of aAuthenticationStatethat it will be using to store and maintain state for a single request.The
MessageContextwill use thecreateAuthenticationState()method on this interface to create a new instance of theAuthenticationStatefor each request message.- Since:
 - 2.0.0
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthenticationStatecreateAuthenticationState()Creates an instance of a specific type ofAuthenticationState. 
 - 
 
- 
- 
Method Detail
- 
createAuthenticationState
AuthenticationState createAuthenticationState()
Creates an instance of a specific type of
AuthenticationState.Must return a new
AuthenticationStateinstance for each invocation.- Returns:
 - A new 
AuthenticationStateinstance. 
 
 - 
 
 -