Module org.elasticsearch.xcore
Class SamlAuthenticateResponse
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.ActionResponse
org.elasticsearch.xpack.core.security.action.saml.SamlAuthenticateResponse
- All Implemented Interfaces:
Writeable,org.elasticsearch.core.RefCounted
The response from converting a SAML assertion into a security token.
Actually nothing SAML specific in this...
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.action.ActionResponse
ActionResponse.EmptyNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED -
Constructor Summary
ConstructorsConstructorDescriptionSamlAuthenticateResponse(Authentication authentication, String tokenString, String refreshToken, org.elasticsearch.core.TimeValue expiresIn) -
Method Summary
Modifier and TypeMethodDescriptionorg.elasticsearch.core.TimeValuegetRealm()voidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.core.RefCounted
mustIncRef
-
Constructor Details
-
SamlAuthenticateResponse
public SamlAuthenticateResponse(Authentication authentication, String tokenString, String refreshToken, org.elasticsearch.core.TimeValue expiresIn)
-
-
Method Details
-
getPrincipal
-
getRealm
-
getTokenString
-
getRefreshToken
-
getExpiresIn
public org.elasticsearch.core.TimeValue getExpiresIn() -
getAuthentication
-
writeTo
- Throws:
IOException
-