|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 credentialMethod Detail |
---|
public long getCredentialId()
getCredentialId
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.getCredentialId()
public void setCredentialId(long credentialId)
setCredentialId
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.setCredentialId(long)
public long getPrincipalId()
getPrincipalId
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.getPrincipalId()
public void setPrincipalId(long principalId)
setPrincipalId
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.setPrincipalId(long)
public String getValue()
getValue
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.getValue()
public void setValue(String value)
setValue
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.setValue(java.lang.String)
public boolean isUpdateRequired()
isUpdateRequired
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.isUpdateRequired()
public void setUpdateRequired(boolean updateRequired)
setUpdateRequired
in interface org.apache.jetspeed.security.om.InternalCredential
public boolean isEncoded()
isEncoded
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.isEncoded()
public void setEncoded(boolean encoded)
setEncoded
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.setEncoded(boolean)
public boolean isEnabled()
isEnabled
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.isEnabled()
public void setEnabled(boolean enabled)
setEnabled
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.setEnabled(boolean)
public int getAuthenticationFailures()
getAuthenticationFailures
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.getAuthenticationFailures()
public void setAuthenticationFailures(int authenticationFailures)
setAuthenticationFailures
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.setAuthenticationFailures(int)
public boolean isExpired()
isExpired
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.isExpired()
public void setExpired(boolean expired)
setExpired
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.setExpired(boolean)
public Date getExpirationDate()
getExpirationDate
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.getExpirationDate()
public void setExpirationDate(Date expirationDate)
setExpirationDate
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.setExpirationDate(java.sql.Date)
public int getType()
getType
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.getType()
public void setType(int type)
setType
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.setType(int)
public String getClassname()
getClassname
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.getClassname()
public void setClassname(String classname)
setClassname
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.setClassname(java.lang.String)
public Timestamp getCreationDate()
getCreationDate
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.getCreationDate()
public void setCreationDate(Timestamp creationDate)
setCreationDate
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.setCreationDate(java.sql.Timestamp)
public Timestamp getModifiedDate()
getModifiedDate
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.getModifiedDate()
public void setModifiedDate(Timestamp modifiedDate)
setModifiedDate
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.setModifiedDate(java.sql.Timestamp)
public Timestamp getPreviousAuthenticationDate()
getPreviousAuthenticationDate
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.getPreviousAuthenticationDate()
public void setPreviousAuthenticationDate(Timestamp previousAuthenticationDate)
setPreviousAuthenticationDate
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.setPreviousAuthenticationDate(java.sql.Timestamp)
public Timestamp getLastAuthenticationDate()
getLastAuthenticationDate
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.getLastAuthenticationDate()
public void setLastAuthenticationDate(Timestamp lastAuthenticationDate)
setLastAuthenticationDate
in interface org.apache.jetspeed.security.om.InternalCredential
InternalCredential.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 Object
public 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 |