Home » geronimo-eclipse-plugin-2.2-source-release » org.apache.geronimo.jee.security » [javadoc | source]
org.apache.geronimo.jee.security
public class: Security [javadoc | source]
java.lang.Object
   org.apache.geronimo.jee.application.AbstractSecurity
      org.apache.geronimo.jee.security.Security

All Implemented Interfaces:
    Serializable

Security entries If this element is present, all web and EJB modules MUST make the appropriate access checks as outlined in the JACC spec.

Java class for securityType complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="securityType">
  <complexContent>
    <extension base="{http://geronimo.apache.org/xml/ns/j2ee/application-2.0}abstract-securityType">
      <sequence>
        <element name="description" type="{http://geronimo.apache.org/xml/ns/security-2.0}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
        <element name="credential-store-ref" type="{http://geronimo.apache.org/xml/ns/deployment-1.2}patternType" minOccurs="0"/>
        <element name="default-subject" type="{http://geronimo.apache.org/xml/ns/security-2.0}subject-infoType" minOccurs="0"/>
        <element name="role-mappings" type="{http://geronimo.apache.org/xml/ns/security-2.0}role-mappingsType" minOccurs="0"/>
      </sequence>
      <attribute name="default-role" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="doas-current-caller" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
      <attribute name="use-context-handler" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
    </extension>
  </complexContent>
</complexType>
Field Summary
protected  List<Description> description     
protected  Pattern credentialStoreRef     
protected  SubjectInfo defaultSubject     
protected  RoleMappings roleMappings     
protected  String defaultRole     
protected  Boolean doasCurrentCaller     
protected  Boolean useContextHandler     
Method from org.apache.geronimo.jee.security.Security Summary:
getCredentialStoreRef,   getDefaultRole,   getDefaultSubject,   getDescription,   getRoleMappings,   isDoasCurrentCaller,   isUseContextHandler,   setCredentialStoreRef,   setDefaultRole,   setDefaultSubject,   setDoasCurrentCaller,   setRoleMappings,   setUseContextHandler
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.jee.security.Security Detail:
 public Pattern getCredentialStoreRef() 
    Gets the value of the credentialStoreRef property.
 public String getDefaultRole() 
    Gets the value of the defaultRole property.
 public SubjectInfo getDefaultSubject() 
    Gets the value of the defaultSubject property.
 public List<Description> getDescription() 
    Gets the value of the description property.

    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 set method for the description property.

    For example, to add a new item, do as follows:

       getDescription().add(newItem);
    

    Objects of the following type(s) are allowed in the list Description

 public RoleMappings getRoleMappings() 
    Gets the value of the roleMappings property.
 public boolean isDoasCurrentCaller() 
    Gets the value of the doasCurrentCaller property.
 public boolean isUseContextHandler() 
    Gets the value of the useContextHandler property.
 public  void setCredentialStoreRef(Pattern value) 
    Sets the value of the credentialStoreRef property.
 public  void setDefaultRole(String value) 
    Sets the value of the defaultRole property.
 public  void setDefaultSubject(SubjectInfo value) 
    Sets the value of the defaultSubject property.
 public  void setDoasCurrentCaller(Boolean value) 
    Sets the value of the doasCurrentCaller property.
 public  void setRoleMappings(RoleMappings value) 
    Sets the value of the roleMappings property.
 public  void setUseContextHandler(Boolean value) 
    Sets the value of the useContextHandler property.