Package org.graylog.security.authservice
Class UserDetails
java.lang.Object
org.graylog.security.authservice.UserDetails
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanabstract Stringabstract Stringabstract Stringstatic UserDetails.Builderbuilder()abstract Stringemail()fullName()Some authentication backends only currently support the fullName attribute (and not firstName and lastName), so it is still optionally available here.Some authentication services include group membership infoabstract booleanlastName()abstract UserDetails.Builderabstract Stringusername()withDatabaseId(String id)
-
Constructor Details
-
UserDetails
public UserDetails()
-
-
Method Details
-
databaseId
-
authServiceType
-
authServiceId
-
base64AuthServiceUid
-
username
-
accountIsEnabled
public abstract boolean accountIsEnabled() -
email
-
firstName
-
lastName
-
fullName
Some authentication backends only currently support the fullName attribute (and not firstName and lastName), so it is still optionally available here. Prefer use of only firstName and lastName when available. -
isExternal
public abstract boolean isExternal() -
defaultRoles
-
groupsFromAuthN
Some authentication services include group membership info -
withDatabaseId
-
builder
-
toBuilder
-