java.lang.Object
org.elasticsearch.xpack.core.security.action.Grant
- All Implemented Interfaces:
Writeable
Fields related to the end user authentication
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()voidsetAccessToken(SecureString accessToken) voidsetClientAuthentication(Grant.ClientAuthentication clientAuthentication) voidsetPassword(SecureString password) voidsetRunAsUsername(String runAsUsername) voidvoidsetUsername(String username) validate(ActionRequestValidationException validationException) voidwriteTo(StreamOutput out)
-
Field Details
-
PASSWORD_GRANT_TYPE
- See Also:
-
ACCESS_TOKEN_GRANT_TYPE
- See Also:
-
-
Constructor Details
-
Grant
public Grant() -
Grant
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getType
-
getUsername
-
getPassword
-
getAccessToken
-
getRunAsUsername
-
getClientAuthentication
-
setType
-
setUsername
-
setPassword
-
setAccessToken
-
setRunAsUsername
-
setClientAuthentication
-
validate
public ActionRequestValidationException validate(ActionRequestValidationException validationException)
-