Save This Page
Home » geronimo-eclipse-plugin-2.2-source-release » org.apache.geronimo.xml.ns.security_1 » [javadoc | source]
org.apache.geronimo.xml.ns.security_1
public class: DefaultPrincipalType [javadoc | source]
java.lang.Object
   org.apache.geronimo.xml.ns.security_1.DefaultPrincipalType

Java class for default-principalType complex type.

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

<complexType name="default-principalType">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element name="description" type="{http://geronimo.apache.org/xml/ns/security-1.1}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
        <choice>
          <element name="principal" type="{http://geronimo.apache.org/xml/ns/security-1.1}principalType"/>
          <element name="login-domain-principal" type="{http://geronimo.apache.org/xml/ns/security-1.1}loginDomainPrincipalType"/>
          <element name="realm-principal" type="{http://geronimo.apache.org/xml/ns/security-1.1}realmPrincipalType"/>
        </choice>
        <element name="named-username-password-credential" type="{http://geronimo.apache.org/xml/ns/security-1.1}named-username-password-credentialType" maxOccurs="unbounded" minOccurs="0"/>
      </sequence>
    </restriction>
  </complexContent>
</complexType>
Field Summary
protected  List<DescriptionType> description     
protected  PrincipalType principal     
protected  LoginDomainPrincipalType loginDomainPrincipal     
protected  RealmPrincipalType realmPrincipal     
protected  List<NamedUsernamePasswordCredentialType> namedUsernamePasswordCredential     
Method from org.apache.geronimo.xml.ns.security_1.DefaultPrincipalType Summary:
getDescription,   getLoginDomainPrincipal,   getNamedUsernamePasswordCredential,   getPrincipal,   getRealmPrincipal,   setLoginDomainPrincipal,   setPrincipal,   setRealmPrincipal
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.xml.ns.security_1.DefaultPrincipalType Detail:
 public List<DescriptionType> 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 DescriptionType

 public LoginDomainPrincipalType getLoginDomainPrincipal() 
    Gets the value of the loginDomainPrincipal property.
 public List<NamedUsernamePasswordCredentialType> getNamedUsernamePasswordCredential() 
    Gets the value of the namedUsernamePasswordCredential 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 namedUsernamePasswordCredential property.

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

       getNamedUsernamePasswordCredential().add(newItem);
    

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

 public PrincipalType getPrincipal() 
    Gets the value of the principal property.
 public RealmPrincipalType getRealmPrincipal() 
    Gets the value of the realmPrincipal property.
 public  void setLoginDomainPrincipal(LoginDomainPrincipalType value) 
    Sets the value of the loginDomainPrincipal property.
 public  void setPrincipal(PrincipalType value) 
    Sets the value of the principal property.
 public  void setRealmPrincipal(RealmPrincipalType value) 
    Sets the value of the realmPrincipal property.