Package com.floragunn.searchguard.user
Class AuthDomainInfo
- java.lang.Object
-
- com.floragunn.searchguard.user.AuthDomainInfo
-
public class AuthDomainInfo extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static AuthDomainInfoANONstatic AuthDomainInfoIMPERSONATION_TLSstatic AuthDomainInfoINJECTEDstatic AuthDomainInfoSTORED_AUTHstatic AuthDomainInfoTLS_CERTstatic AuthDomainInfoUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthDomainInfoadd(AuthDomainInfo other)AuthDomainInfoaddAuthBackend(String authBackendType)AuthDomainInfoauthBackendType(String authBackendType)AuthDomainInfoauthDomainId(String authDomainId)AuthDomainInfoauthenticatorType(String authenticatorType)static AuthDomainInfoforAuthDomainId(String authDomainId)static AuthDomainInfoforAuthenticatorType(String authenticatorType)static AuthDomainInfofrom(User user)StringgetAuthBackendType()StringgetAuthDomainId()StringgetAuthenticatorType()booleanisUnknown()StringtoInfoString()StringtoString()
-
-
-
Field Detail
-
UNKNOWN
public static AuthDomainInfo UNKNOWN
-
ANON
public static AuthDomainInfo ANON
-
TLS_CERT
public static AuthDomainInfo TLS_CERT
-
IMPERSONATION_TLS
public static AuthDomainInfo IMPERSONATION_TLS
-
STORED_AUTH
public static AuthDomainInfo STORED_AUTH
-
INJECTED
public static AuthDomainInfo INJECTED
-
-
Method Detail
-
getAuthDomainId
public String getAuthDomainId()
-
authDomainId
public AuthDomainInfo authDomainId(String authDomainId)
-
getAuthenticatorType
public String getAuthenticatorType()
-
authenticatorType
public AuthDomainInfo authenticatorType(String authenticatorType)
-
getAuthBackendType
public String getAuthBackendType()
-
authBackendType
public AuthDomainInfo authBackendType(String authBackendType)
-
addAuthBackend
public AuthDomainInfo addAuthBackend(String authBackendType)
-
add
public AuthDomainInfo add(AuthDomainInfo other)
-
isUnknown
public boolean isUnknown()
-
forAuthDomainId
public static AuthDomainInfo forAuthDomainId(String authDomainId)
-
forAuthenticatorType
public static AuthDomainInfo forAuthenticatorType(String authenticatorType)
-
toInfoString
public String toInfoString()
-
from
public static AuthDomainInfo from(User user)
-
-