Module org.elasticsearch.xcore
Class AnonymousUser
java.lang.Object
org.elasticsearch.xpack.core.security.user.User
org.elasticsearch.xpack.core.security.user.ReservedUser
org.elasticsearch.xpack.core.security.user.AnonymousUser
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
The user object for the anonymous user.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.xpack.core.security.user.User
User.FieldsNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params -
Field Summary
FieldsFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddSettings(List<Setting<?>> settingsList) static booleanisAnonymousEnabled(Settings settings) static booleanisAnonymousUsername(String username, Settings settings) Methods inherited from class org.elasticsearch.xpack.core.security.user.User
email, enabled, equals, fullName, hashCode, innerToXContent, metadata, principal, roles, toString, toXContent, writeUserMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
DEFAULT_ANONYMOUS_USERNAME
- See Also:
-
USERNAME_SETTING
-
ROLES_SETTING
-
-
Constructor Details
-
AnonymousUser
-
-
Method Details
-
isAnonymousEnabled
-
isAnonymousUsername
-
addSettings
-