Package org.graylog2.shared.security
Class ActorAwareUsernamePasswordTokenFactory
java.lang.Object
org.graylog2.shared.security.ActorAwareUsernamePasswordTokenFactory
- All Implemented Interfaces:
ActorAwareAuthenticationTokenFactory
public class ActorAwareUsernamePasswordTokenFactory
extends Object
implements ActorAwareAuthenticationTokenFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionforRequestBody
(com.fasterxml.jackson.databind.JsonNode jsonBody) Create an authentication token for the given JsonNode
-
Constructor Details
-
ActorAwareUsernamePasswordTokenFactory
public ActorAwareUsernamePasswordTokenFactory()
-
-
Method Details
-
forRequestBody
public ActorAwareAuthenticationToken forRequestBody(com.fasterxml.jackson.databind.JsonNode jsonBody) Description copied from interface:ActorAwareAuthenticationTokenFactory
Create an authentication token for the given JsonNode- Specified by:
forRequestBody
in interfaceActorAwareAuthenticationTokenFactory
-