AuthenticationRequest

Represents a request to authenticate the user identified by AuthenticationRequest#getName() .

If successful, then the authentication mechanism is expected to add the AuthenticationRequest#streamRoles() roles to the resultant UserMemento (obtained from InteractionContext#getUser() ).

API

AuthenticationRequest.java
interface AuthenticationRequest {
  String getName()     (1)
  Stream<String> streamRoles()     (2)
}
1 getName()

The name of the user to be authenticated by the configured Authenticator . Account’s name.

2 streamRoles()

The roles to be Account’s roles as Stream.

Members

getName()

The name of the user to be authenticated by the configured Authenticator . Account’s name.

streamRoles()

The roles to be Account’s roles as Stream.