|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.security.om.impl.InternalCredentialImpl
public class InternalCredentialImpl
InternalCredential interface implementation.
| Field Summary | |
|---|---|
private int |
authenticationFailures
|
private String |
classname
|
private Timestamp |
creationDate
|
private long |
credentialId
|
private boolean |
enabled
|
private boolean |
encoded
|
private Date |
expirationDate
|
private boolean |
expired
|
private Timestamp |
lastAuthenticationDate
|
private Timestamp |
modifiedDate
|
private Timestamp |
previousAuthenticationDate
|
private long |
principalId
|
private static long |
serialVersionUID
The serial version uid. |
private int |
type
|
private boolean |
updateRequired
|
private String |
value
|
| Fields inherited from interface org.apache.jetspeed.security.om.InternalCredential |
|---|
MAX_DATE, PRIVATE, PUBLIC |
| Constructor Summary | |
|---|---|
InternalCredentialImpl()
InternalCredential implementation default constructor. |
|
InternalCredentialImpl(org.apache.jetspeed.security.om.InternalCredential credential,
String classname)
InternalCredentialImpl copy constructor given another InternalCredential and overriding classname |
|
InternalCredentialImpl(long principalId,
String value,
int type,
String classname)
InternalCredentialImpl constructor given a value, type and classname. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
Compares this InternalCredential to the provided credential
and check if they are equal. |
int |
getAuthenticationFailures()
|
String |
getClassname()
|
Timestamp |
getCreationDate()
|
long |
getCredentialId()
|
Date |
getExpirationDate()
|
Timestamp |
getLastAuthenticationDate()
|
Timestamp |
getModifiedDate()
|
Timestamp |
getPreviousAuthenticationDate()
|
long |
getPrincipalId()
|
int |
getType()
|
String |
getValue()
|
boolean |
isEnabled()
|
boolean |
isEncoded()
|
boolean |
isExpired()
|
boolean |
isUpdateRequired()
|
void |
setAuthenticationFailures(int authenticationFailures)
|
void |
setClassname(String classname)
|
void |
setCreationDate(Timestamp creationDate)
|
void |
setCredentialId(long credentialId)
|
void |
setEnabled(boolean enabled)
|
void |
setEncoded(boolean encoded)
|
void |
setExpirationDate(Date expirationDate)
|
void |
setExpired(boolean expired)
|
void |
setLastAuthenticationDate(Timestamp lastAuthenticationDate)
|
void |
setModifiedDate(Timestamp modifiedDate)
|
void |
setPreviousAuthenticationDate(Timestamp previousAuthenticationDate)
|
void |
setPrincipalId(long principalId)
|
void |
setType(int type)
|
void |
setUpdateRequired(boolean updateRequired)
|
void |
setValue(String value)
|
String |
toString()
Convert Node to string. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private long credentialId
private long principalId
private String value
private boolean updateRequired
private boolean encoded
private boolean enabled
private int authenticationFailures
private boolean expired
private Date expirationDate
private int type
private String classname
private Timestamp creationDate
private Timestamp modifiedDate
private Timestamp previousAuthenticationDate
private Timestamp lastAuthenticationDate
| Constructor Detail |
|---|
public InternalCredentialImpl()
InternalCredential implementation default constructor.
public InternalCredentialImpl(long principalId,
String value,
int type,
String classname)
InternalCredentialImpl constructor given a value, type and classname.
principalId - The principal id.value - The value.type - The type.classname - The classname.
public InternalCredentialImpl(org.apache.jetspeed.security.om.InternalCredential credential,
String classname)
InternalCredentialImpl copy constructor given another InternalCredential and overriding classname
credential - The credential to copy fromclassname - The classname for the new credential| Method Detail |
|---|
public long getCredentialId()
getCredentialId in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.getCredentialId()public void setCredentialId(long credentialId)
setCredentialId in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.setCredentialId(long)public long getPrincipalId()
getPrincipalId in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.getPrincipalId()public void setPrincipalId(long principalId)
setPrincipalId in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.setPrincipalId(long)public String getValue()
getValue in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.getValue()public void setValue(String value)
setValue in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.setValue(java.lang.String)public boolean isUpdateRequired()
isUpdateRequired in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.isUpdateRequired()public void setUpdateRequired(boolean updateRequired)
setUpdateRequired in interface org.apache.jetspeed.security.om.InternalCredentialpublic boolean isEncoded()
isEncoded in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.isEncoded()public void setEncoded(boolean encoded)
setEncoded in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.setEncoded(boolean)public boolean isEnabled()
isEnabled in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.isEnabled()public void setEnabled(boolean enabled)
setEnabled in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.setEnabled(boolean)public int getAuthenticationFailures()
getAuthenticationFailures in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.getAuthenticationFailures()public void setAuthenticationFailures(int authenticationFailures)
setAuthenticationFailures in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.setAuthenticationFailures(int)public boolean isExpired()
isExpired in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.isExpired()public void setExpired(boolean expired)
setExpired in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.setExpired(boolean)public Date getExpirationDate()
getExpirationDate in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.getExpirationDate()public void setExpirationDate(Date expirationDate)
setExpirationDate in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.setExpirationDate(java.sql.Date)public int getType()
getType in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.getType()public void setType(int type)
setType in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.setType(int)public String getClassname()
getClassname in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.getClassname()public void setClassname(String classname)
setClassname in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.setClassname(java.lang.String)public Timestamp getCreationDate()
getCreationDate in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.getCreationDate()public void setCreationDate(Timestamp creationDate)
setCreationDate in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.setCreationDate(java.sql.Timestamp)public Timestamp getModifiedDate()
getModifiedDate in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.getModifiedDate()public void setModifiedDate(Timestamp modifiedDate)
setModifiedDate in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.setModifiedDate(java.sql.Timestamp)public Timestamp getPreviousAuthenticationDate()
getPreviousAuthenticationDate in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.getPreviousAuthenticationDate()public void setPreviousAuthenticationDate(Timestamp previousAuthenticationDate)
setPreviousAuthenticationDate in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.setPreviousAuthenticationDate(java.sql.Timestamp)public Timestamp getLastAuthenticationDate()
getLastAuthenticationDate in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.getLastAuthenticationDate()public void setLastAuthenticationDate(Timestamp lastAuthenticationDate)
setLastAuthenticationDate in interface org.apache.jetspeed.security.om.InternalCredentialInternalCredential.setLastAuthenticationDate(java.sql.Timestamp)public boolean equals(Object object)
Compares this InternalCredential to the provided credential
and check if they are equal.
InternalCredential are equal.
equals in class Objectpublic String toString()
Convert Node to string.
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||