com.evermind.ejb
Class EJBUserBean
java.lang.Object
|
+--com.evermind.ejb.EJBUserBean
- All Implemented Interfaces:
- javax.ejb.EnterpriseBean, javax.ejb.EntityBean, java.io.Serializable
- public class EJBUserBean
- extends java.lang.Object
- implements javax.ejb.EntityBean
EJBUserBean
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
username
public java.lang.String username
password
public java.lang.String password
description
public java.lang.String description
locale
public java.util.Locale locale
certificateIssuerDN
public java.lang.String certificateIssuerDN
certificateSerial
public java.math.BigInteger certificateSerial
groups
public java.util.Set groups
groups_type
public static final java.lang.Class groups_type
EJBUserBean
public EJBUserBean()
ejbCreate
public java.lang.String ejbCreate(java.lang.String username,
java.lang.String password)
throws javax.ejb.CreateException
ejbPostCreate
public void ejbPostCreate(java.lang.String username,
java.lang.String password)
getName
public java.lang.String getName()
authenticate
public boolean authenticate(java.lang.String password)
hasPermission
public boolean hasPermission(java.security.Permission permission)
getDescription
public java.lang.String getDescription()
getLocale
public java.util.Locale getLocale()
ejbActivate
public void ejbActivate()
- Specified by:
ejbActivate in interface javax.ejb.EntityBean
ejbStore
public void ejbStore()
- Specified by:
ejbStore in interface javax.ejb.EntityBean
ejbLoad
public void ejbLoad()
- Specified by:
ejbLoad in interface javax.ejb.EntityBean
ejbPassivate
public void ejbPassivate()
- Specified by:
ejbPassivate in interface javax.ejb.EntityBean
ejbRemove
public void ejbRemove()
- Specified by:
ejbRemove in interface javax.ejb.EntityBean
setEntityContext
public void setEntityContext(javax.ejb.EntityContext context)
- Specified by:
setEntityContext in interface javax.ejb.EntityBean
unsetEntityContext
public void unsetEntityContext()
- Specified by:
unsetEntityContext in interface javax.ejb.EntityBean
setPassword
public void setPassword(java.lang.String password)
getPassword
public java.lang.String getPassword()
getCertificateSerial
public java.math.BigInteger getCertificateSerial()
getCertificateIssuerDN
public java.lang.String getCertificateIssuerDN()
setCertificate
public void setCertificate(java.lang.String issuerDN,
java.math.BigInteger serial)
setCertificate
public void setCertificate(java.security.cert.X509Certificate cert)
setLocale
public void setLocale(java.util.Locale locale)
getGroups
public java.util.Set getGroups()
addToGroup
public void addToGroup(java.lang.String group)
removeFromGroup
public void removeFromGroup(java.lang.String group)
setDescription
public void setDescription(java.lang.String description)