Package hec.security
Class PasswordEntry
java.lang.Object
hec.security.PasswordEntry
- All Implemented Interfaces:
Serializable
A Password Entry is a row of the a password file for a user.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addUserType
(String userTypeName) void
boolean
equals
(PasswordEntry that) boolean
long
getEdipi()
int
Returns a properties object for this password entry.int
hashCode()
void
boolean
isLocked()
static PasswordEntry
username:password:groupnames:user full name::void
removeUserType
(String userTypeName) void
void
set
(PasswordEntry pe) Sets this password entry to the argument values.void
setCreatedBy
(String createdBy) void
setDbPassword
(String dbPassword) void
void
setEdipi
(long edipi) void
setLocked
(boolean locked) void
setPassword
(String newPassword) void
setUserDir
(String userDir) void
setUserFullName
(String fullName) void
setUserName
(String userName) This method should not normally be called.void
setUserTypeNames
(Vector<String> userTypes) toString()
void
void
writeUserTypes
(Writer writer)
-
Constructor Details
-
PasswordEntry
-
-
Method Details
-
getPluginData
Returns a properties object for this password entry. This properties object can be modified, entried added, changed, etc. The properties data will not be written to file as part from normal password entry usage but is instead specific to login server plugins that need to know more detail than what is contained in regular password entry data members. -
getUserName
-
getDbUser
-
getDbPassword
-
setUserName
This method should not normally be called.- Parameters:
userName
-
-
setDbUser
-
setDbPassword
-
getPassword
-
setPassword
-
getUserTypeNames
-
setUserTypeNames
-
addUserType
-
removeUserType
-
clearUserTypes
public void clearUserTypes() -
getUserFullName
-
setUserFullName
-
setCreatedBy
-
getCreatedBy
-
getUserDir
-
setUserDir
-
incrementLoginFailureCnt
public void incrementLoginFailureCnt() -
getLoginFailureCnt
public int getLoginFailureCnt() -
resetLoginFailureCnt
public void resetLoginFailureCnt() -
equals
-
equals
-
hashCode
public int hashCode() -
isLocked
public boolean isLocked() -
setLocked
public void setLocked(boolean locked) -
toString
-
set
Sets this password entry to the argument values. Does not modify the login failure count. -
writeLine
- Throws:
IOException
-
writeUserTypes
- Throws:
IOException
-
parseLine
username:password:groupnames:user full name:: -
getEdipi
public long getEdipi() -
setEdipi
public void setEdipi(long edipi)
-