Module org.elasticsearch.security
Class ReservedRoleMappingAction
java.lang.Object
org.elasticsearch.xpack.security.action.rolemapping.ReservedRoleMappingAction
- All Implemented Interfaces:
ReservedClusterStateHandler<List<PutRoleMappingRequest>>
public class ReservedRoleMappingAction
extends Object
implements ReservedClusterStateHandler<List<PutRoleMappingRequest>>
This Action is the reserved state save version of RestPutRoleMappingAction/RestDeleteRoleMappingAction
It is used by the ReservedClusterStateService to add/update or remove role mappings. Typical usage for this action is in the context of file based settings.
-
Field Summary
FieldsFields inherited from interface org.elasticsearch.reservedstate.ReservedClusterStateHandler
DUMMY_TIMEOUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromXContent(org.elasticsearch.xcontent.XContentParser parser) name()transform(Object source, TransformState prevState) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.reservedstate.ReservedClusterStateHandler
dependencies, optionalDependencies, validate
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
ReservedRoleMappingAction
public ReservedRoleMappingAction()
-
-
Method Details
-
name
- Specified by:
namein interfaceReservedClusterStateHandler<List<PutRoleMappingRequest>>
-
transform
- Specified by:
transformin interfaceReservedClusterStateHandler<List<PutRoleMappingRequest>>- Throws:
Exception
-
fromXContent
public List<PutRoleMappingRequest> fromXContent(org.elasticsearch.xcontent.XContentParser parser) throws IOException - Specified by:
fromXContentin interfaceReservedClusterStateHandler<List<PutRoleMappingRequest>>- Throws:
IOException
-