Interface SecureAdmin
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy
public interface SecureAdmin
extends org.jvnet.hk2.config.ConfigBeanProxy
Represents the admin security settings for the domain.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringconfiguredAdminIndicator(SecureAdmin secureAdmin) Returns the configured (which could be the default) value for the special admin indicator.dasAlias()static StringDASAlias(SecureAdmin secureAdmin) default StringGets whether admin security is turned on.default Stringstatic StringinstanceAlias(SecureAdmin secureAdmin) static booleanisEnabled(SecureAdmin secureAdmin) Reports whether secure admin is enabled.static booleanisUsingUsernamePasswordAuth(SecureAdmin secureAdmin) static SecureAdminInternalUsersecureAdminInternalUser(SecureAdmin secureAdmin) static List<SecureAdminPrincipal> secureAdminPrincipals(SecureAdmin secureAdmin, org.glassfish.hk2.api.ServiceLocator habitat) voidsetDasAlias(String alias) voidsetEnabled(String enabled) Sets whether admin security is turned on.voidsetInstanceAlias(String alias) voidsetSpecialAdminIndicator(String adminIndicator) Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
Field Details
-
DEFAULT_INSTANCE_ALIAS
- See Also:
-
DEFAULT_ADMIN_ALIAS
- See Also:
-
ADMIN_INDICATOR_HEADER_NAME
- See Also:
-
ADMIN_INDICATOR_DEFAULT_VALUE
- See Also:
-
ADMIN_ONE_TIME_AUTH_TOKEN_HEADER_NAME
- See Also:
-
-
Method Details
-
getSecureAdminPrincipal
List<SecureAdminPrincipal> getSecureAdminPrincipal() -
getSecureAdminInternalUser
List<SecureAdminInternalUser> getSecureAdminInternalUser() -
getEnabled
String getEnabled()Gets whether admin security is turned on.- Returns:
Stringcontaining the type
-
setEnabled
Sets whether admin security is turned on.- Parameters:
enabled- whether admin security should be on or off (trueorfalse)
-
getSpecialAdminIndicator
String getSpecialAdminIndicator() -
setSpecialAdminIndicator
-
dasAlias
String dasAlias() -
setDasAlias
-
instanceAlias
String instanceAlias() -
setInstanceAlias
-
getInstanceAlias
-
getDasAlias
-
isEnabled
Reports whether secure admin is enabled.- Parameters:
secureAdmin- theSecureAdmin, typically returned fromdomain.getSecureAdmin()- Returns:
trueif secure admin is enabled;falseotherwise
-
configuredAdminIndicator
Returns the configured (which could be the default) value for the special admin indicator.- Parameters:
secureAdmin- theSecureAdmin, typically returned fromdomain.getSecureAdmin()- Returns:
- the current value for the admin indicator
-
DASAlias
-
instanceAlias
-
secureAdminInternalUser
-
isUsingUsernamePasswordAuth
-
secureAdminPrincipals
static List<SecureAdminPrincipal> secureAdminPrincipals(SecureAdmin secureAdmin, org.glassfish.hk2.api.ServiceLocator habitat)
-