Interface SecurityService
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy,org.jvnet.hk2.config.types.PropertyBag
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of theactivateDefaultPrincipalToRoleMappingproperty.Deprecated.This attribute is deprecated.Gets the value of theauditEnabledproperty.Gets the value of theauditModuleproperty.Gets the value of theauditModulesproperty.Gets the value of theauthRealmproperty.Gets the value of thedefaultPrincipalproperty.Gets the value of thedefaultPrincipalPasswordproperty.Gets the value of thedefaultRealmproperty.getJacc()Gets the value of thejaccproperty.Gets the value of thejaccProviderproperty.Customizes thePrincipalimplementation class used whenactivate-default-principal-to-role-mappingis set totrue.Gets the value of themessageSecurityConfigproperty.List<org.jvnet.hk2.config.types.Property>Properties as perPropertyBagvoidsetActivateDefaultPrincipalToRoleMapping(String principalToRoleMapping) Sets the value of theactivateDefaultPrincipalToRoleMappingproperty.voidsetAnonymousRole(String anonymousRole) Sets the value of theanonymousRoleproperty.voidsetAuditEnabled(String auditEnabled) Sets the value of theauditEnabledproperty.voidsetAuditModules(String auditModules) Sets the value of theauditModulesproperty.voidsetDefaultPrincipal(String defaultPrincipal) Sets the value of thedefaultPrincipalproperty.voidsetDefaultPrincipalPassword(String defaultPrincipalPassword) Sets the value of thedefaultPrincipalPasswordproperty.voidsetDefaultRealm(String defaultRealm) Sets the value of thedefaultRealmproperty.voidSets the value of thejaccproperty.voidsetMappedPrincipalClass(String mappedPrincipalClass) Sets the value of themappedPrincipalClassproperty.Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParentMethods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
Method Details
-
getDefaultRealm
String getDefaultRealm()Gets the value of thedefaultRealmproperty.Specifies which realm (by name) is used by default when no realm is specifically requested. The file realm is the common default.
- Returns:
- possible object is
String
-
setDefaultRealm
Sets the value of thedefaultRealmproperty.- Parameters:
defaultRealm- allowed object isString- Throws:
PropertyVetoException
-
getDefaultPrincipal
String getDefaultPrincipal()Gets the value of thedefaultPrincipalproperty.Used as the identity of default security contexts when necessary and no principal is provided.
- Returns:
- possible object is
String
-
setDefaultPrincipal
Sets the value of thedefaultPrincipalproperty.- Parameters:
defaultPrincipal- allowed object isString- Throws:
PropertyVetoException
-
getDefaultPrincipalPassword
String getDefaultPrincipalPassword()Gets the value of thedefaultPrincipalPasswordproperty.Password of default principal.
- Returns:
- possible object is
String
-
setDefaultPrincipalPassword
Sets the value of thedefaultPrincipalPasswordproperty.- Parameters:
defaultPrincipalPassword- allowed object isString- Throws:
PropertyVetoException
-
getAnonymousRole
String getAnonymousRole()Deprecated.This attribute is deprecated.Gets the value of theanonymousRoleproperty.- Returns:
- possible object is
String
-
setAnonymousRole
Sets the value of theanonymousRoleproperty.- Parameters:
anonymousRole- allowed object isString- Throws:
PropertyVetoException
-
getAuditEnabled
String getAuditEnabled()Gets the value of theauditEnabledproperty.If
true, additional access logging is performed to provide audit information.- Returns:
- possible object is
String
-
setAuditEnabled
Sets the value of theauditEnabledproperty.- Parameters:
auditEnabled- allowed object isString- Throws:
PropertyVetoException
-
getJacc
String getJacc()Gets the value of thejaccproperty.Specifies the name of the
jacc-providerelement to use for setting up the JACC infrastructure. The default value"default"does not need to be changed unless adding a custom JACC provider.- Returns:
- possible object is
String
-
setJacc
Sets the value of thejaccproperty.- Parameters:
jacc- allowed object isString- Throws:
PropertyVetoException
-
getAuditModules
String getAuditModules()Gets the value of theauditModulesproperty.Optional list of audit provider modules which will be used by the audit subsystem. Default value refers to the internal log-based audit module.
- Returns:
- possible object is
String
-
setAuditModules
Sets the value of theauditModulesproperty.- Parameters:
auditModules- allowed object isString- Throws:
PropertyVetoException
-
getActivateDefaultPrincipalToRoleMapping
String getActivateDefaultPrincipalToRoleMapping()Gets the value of theactivateDefaultPrincipalToRoleMappingproperty.Causes the appserver to apply a default principal to role mapping, to any application that does not have an application specific mapping defined. Every role is mapped to a same-named (as the role) instance of a
Principalimplementation class (see mapped-principal-class). This behavior is similar to that of Tomcat servlet container. It is off by default.- Returns:
- possible object is
String
-
setActivateDefaultPrincipalToRoleMapping
void setActivateDefaultPrincipalToRoleMapping(String principalToRoleMapping) throws PropertyVetoException Sets the value of theactivateDefaultPrincipalToRoleMappingproperty.- Parameters:
principalToRoleMapping- allowed object isString- Throws:
PropertyVetoException
-
getMappedPrincipalClass
String getMappedPrincipalClass()Customizes thePrincipalimplementation class used whenactivate-default-principal-to-role-mappingis set totrue. Should the default be set tocom.sun.enterprise.deployment.Group?This attribute is used to customize the
Principalimplementation class used in the default principal to role mapping.This attribute is optional. When it is not specified,
com.sun.enterprise.deployment.Groupimplementation ofPrincipalis used. The value of this attribute is only relevant when theactivate-default principal-to-role-mappingattribute is set totrue.- Returns:
- possible object is
String
-
setMappedPrincipalClass
Sets the value of themappedPrincipalClassproperty.- Parameters:
mappedPrincipalClass- allowed object isString- Throws:
PropertyVetoException
-
getAuthRealm
Gets the value of theauthRealmproperty.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for theauthRealmproperty.For example, to add a new item, do as follows:
getAuthRealm().add(newItem);
Objects of the following type(s) are allowed in the list
AuthRealm -
getJaccProvider
List<JaccProvider> getJaccProvider()Gets the value of thejaccProviderproperty.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for thejaccProviderproperty.For example, to add a new item, do as follows:
getJaccProvider().add(newItem);
Objects of the following type(s) are allowed in the list
JaccProvider -
getAuditModule
List<AuditModule> getAuditModule()Gets the value of theauditModuleproperty.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for theauditModuleproperty.For example, to add a new item, do as follows:
getAuditModule().add(newItem);
Objects of the following type(s) are allowed in the list
AuditModule -
getMessageSecurityConfig
List<MessageSecurityConfig> getMessageSecurityConfig()Gets the value of themessageSecurityConfigproperty.Optional list of layer specific lists of configured message security providers.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for themessageSecurityConfigproperty.For example, to add a new item, do as follows:
getMessageSecurityConfig().add(newItem);
>Objects of the following type(s) are allowed in the list
MessageSecurityConfig -
getProperty
@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<org.jvnet.hk2.config.types.Property> getProperty()Properties as perPropertyBag- Specified by:
getPropertyin interfaceorg.jvnet.hk2.config.types.PropertyBag
-