Class LoginAccount
- java.lang.Object
- 
- com.ibm.wsspi.security.wim.model.Entity
- 
- com.ibm.wsspi.security.wim.model.RolePlayer
- 
- com.ibm.wsspi.security.wim.model.Party
- 
- com.ibm.wsspi.security.wim.model.LoginAccount
 
 
 
 
- 
- Direct Known Subclasses:
- PersonAccount
 
 public class LoginAccount extends Party Java class for LoginAccount complex type. The following schema fragment specifies the expected content contained within this class. <complexType name="LoginAccount"> <complexContent> <extension base="{http://www.ibm.com/websphere/wim}Party"> <sequence> <element ref="{http://www.ibm.com/websphere/wim}principalName" minOccurs="0"/> <element ref="{http://www.ibm.com/websphere/wim}password" minOccurs="0"/> <element ref="{http://www.ibm.com/websphere/wim}realm" minOccurs="0"/> <element ref="{http://www.ibm.com/websphere/wim}certificate" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>The LoginAccount object is extended from the Party object, and ultimately the RolePlayer object, to enable LoginAccounts to play roles. The LoginAccount object is an entity type which contains the common properties for all sub-types of this object. It has the following properties defined: - principalName: specifies the name of the user associated with this LoginAccount.
- password: specifies the password for the user specified in principalName.
- realm: specifies the realm in which this user exists.
- certificate property specifies the certificate the user may be authenticated with.
 A principal may have multiple LoginAccounts. 
- 
- 
Constructor SummaryConstructors Constructor Description LoginAccount()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectget(java.lang.String propName)Gets the value of the requested propertyjava.util.List<byte[]>getCertificate()Gets the value of the certificate property.java.lang.StringgetDataType(java.lang.String propName)Gets the Java type of the value of the provided property.byte[]getPassword()Gets the value of the >password property.java.lang.StringgetPrincipalName()Gets the value of the principalName property.static java.util.ListgetPropertyNames(java.lang.String entityTypeName)Gets a list of all supported properties for this model object, LoginAccountjava.lang.StringgetRealm()Gets the value of the realm property.static java.util.HashSetgetSubTypes()Gets a set of any model objects which extend this model object, LoginAccountjava.util.ArrayListgetSuperTypes()Gets a list of any model objects which this model object, LoginAccount, is an extension of.java.lang.StringgetTypeName()Gets the name of this model object, LoginAccountbooleanisMandatory(java.lang.String propName)Returns true if the provided property is a mandatory property; false, otherwise.booleanisMultiValuedProperty(java.lang.String propName)Return whether the specified property is a multi-valued property and capable of holding multiple values.booleanisPersistentProperty(java.lang.String propName)Returns true if the provided property is a persistent property; false, otherwise.booleanisSet(java.lang.String propName)Returns true if the requested property is set; false, otherwise.booleanisSetCertificate()Returns a true if the certificate property is set; false, otherwise.booleanisSetPassword()Returns a true if the password property is set; false, otherwise.booleanisSetPrincipalName()Returns a true if the principalName property is set; false, otherwise.booleanisSetRealm()Returns a true if the realm property is set; false, otherwise.booleanisSubType(java.lang.String superTypeName)Returns a true if the provided model object is one that this model object extends; false, otherwise.voidset(java.lang.String propName, java.lang.Object value)Sets the value of the provided property to the provided value.voidsetPassword(byte[] value)Sets the value of the password property.voidsetPrincipalName(java.lang.String value)Sets the value of the principalName property.voidsetRealm(java.lang.String value)Sets the value of the realm property.java.lang.StringtoString()Returns this model object, LoginAccount, and its contents as a Stringvoidunset(java.lang.String propName)Sets the value of provided property to null.voidunsetCertificate()Resets the certificate property to null- 
Methods inherited from class com.ibm.wsspi.security.wim.model.RolePlayergetPartyRoles, isSetPartyRoles, unsetPartyRoles
 - 
Methods inherited from class com.ibm.wsspi.security.wim.model.EntitygetChangeType, getChildren, getCreateTimestamp, getEntitlementInfo, getGroups, getIdentifier, getModifyTimestamp, getParent, getSubEntityTypes, getViewIdentifiers, isSetChangeType, isSetChildren, isSetCreateTimestamp, isSetEntitlementInfo, isSetGroups, isSetIdentifier, isSetModifyTimestamp, isSetParent, isSetViewIdentifiers, isUnset, reInitializePropertyNames, setChangeType, setCreateTimestamp, setEntitlementInfo, setIdentifier, setModifyTimestamp, setParent, unsetChildren, unsetGroups, unsetViewIdentifiers
 
- 
 
- 
- 
- 
Method Detail- 
getPrincipalNamepublic java.lang.String getPrincipalName() Gets the value of the principalName property.- Returns:
- possible object is String
 
 - 
setPrincipalNamepublic void setPrincipalName(java.lang.String value) Sets the value of the principalName property.- Parameters:
- value- allowed object is- String
 
 - 
isSetPrincipalNamepublic boolean isSetPrincipalName() Returns a true if the principalName property is set; false, otherwise.- Returns:
- returned object is boolean
 
 - 
getPasswordpublic byte[] getPassword() Gets the value of the >password property.- Returns:
- possible object is byte[]
 
 - 
setPasswordpublic void setPassword(byte[] value) Sets the value of the password property.- Parameters:
- value- allowed object is byte[]
 
 - 
isSetPasswordpublic boolean isSetPassword() Returns a true if the password property is set; false, otherwise.- Returns:
- returned object is boolean
 
 - 
getRealmpublic java.lang.String getRealm() Gets the value of the realm property.- Returns:
- possible object is String
 
 - 
setRealmpublic void setRealm(java.lang.String value) Sets the value of the realm property.- Parameters:
- value- allowed object is- String
 
 - 
isSetRealmpublic boolean isSetRealm() Returns a true if the realm property is set; false, otherwise.- Returns:
- returned object is boolean
 
 - 
getCertificatepublic java.util.List<byte[]> getCertificate() Gets the value of the certificate 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 setmethod for the certificate property.For example, to add a new item, do as follows: getCertificate().add(newItem); Objects of the following type(s) are allowed in the list byte[] 
 - 
isSetCertificatepublic boolean isSetCertificate() Returns a true if the certificate property is set; false, otherwise.- Returns:
- returned object is boolean
 
 - 
unsetCertificatepublic void unsetCertificate() Resets the certificate property to null
 - 
getpublic java.lang.Object get(java.lang.String propName) Gets the value of the requested property
 - 
isSetpublic boolean isSet(java.lang.String propName) Returns true if the requested property is set; false, otherwise.
 - 
setpublic void set(java.lang.String propName, java.lang.Object value)Sets the value of the provided property to the provided value.
 - 
unsetpublic void unset(java.lang.String propName) Sets the value of provided property to null.
 - 
getTypeNamepublic java.lang.String getTypeName() Gets the name of this model object, LoginAccount- Overrides:
- getTypeNamein class- Party
- Returns:
- returned object is String
 
 - 
isMandatorypublic boolean isMandatory(java.lang.String propName) Description copied from class:EntityReturns true if the provided property is a mandatory property; false, otherwise.- Overrides:
- isMandatoryin class- Party
- Returns:
- returned object is boolean
 
 - 
isPersistentPropertypublic boolean isPersistentProperty(java.lang.String propName) Description copied from class:EntityReturns true if the provided property is a persistent property; false, otherwise.- Overrides:
- isPersistentPropertyin class- Party
- Returns:
- returned object is boolean
 
 - 
getPropertyNamespublic static java.util.List getPropertyNames(java.lang.String entityTypeName) Gets a list of all supported properties for this model object, LoginAccount- Parameters:
- entityTypeName- allowed object is- String
- Returns:
- returned object is List
 
 - 
getDataTypepublic java.lang.String getDataType(java.lang.String propName) Gets the Java type of the value of the provided property. For example: String, List- Overrides:
- getDataTypein class- Party
- Parameters:
- propName- allowed object is- String
- Returns:
- returned object is String
 
 - 
getSuperTypespublic java.util.ArrayList getSuperTypes() Gets a list of any model objects which this model object, LoginAccount, is an extension of.- Overrides:
- getSuperTypesin class- Party
- Returns:
- returned object is ArrayList
 
 - 
isSubTypepublic boolean isSubType(java.lang.String superTypeName) Returns a true if the provided model object is one that this model object extends; false, otherwise.
 - 
getSubTypespublic static java.util.HashSet getSubTypes() Gets a set of any model objects which extend this model object, LoginAccount- Returns:
- returned object is HashSet
 
 - 
toStringpublic java.lang.String toString() Returns this model object, LoginAccount, and its contents as a String
 - 
isMultiValuedPropertypublic boolean isMultiValuedProperty(java.lang.String propName) Description copied from class:EntityReturn whether the specified property is a multi-valued property and capable of holding multiple values.- Overrides:
- isMultiValuedPropertyin class- RolePlayer
- Parameters:
- propName- The property name to check.
- Returns:
- True if the property is multi-value, false otherwise.
 
 
- 
 
-