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 TypeMethodDescriptionvoidaddUserType(String userTypeName) voidbooleanequals(PasswordEntry that) booleanlonggetEdipi()intReturns a properties object for this password entry.inthashCode()voidbooleanisLocked()static PasswordEntryusername:password:groupnames:user full name::voidremoveUserType(String userTypeName) voidvoidset(PasswordEntry pe) Sets this password entry to the argument values.voidsetCreatedBy(String createdBy) voidsetDbPassword(String dbPassword) voidvoidsetEdipi(long edipi) voidsetLocked(boolean locked) voidsetPassword(String newPassword) voidsetUserDir(String userDir) voidsetUserFullName(String fullName) voidsetUserName(String userName) This method should not normally be called.voidsetUserTypeNames(Vector<String> userTypes) toString()voidvoidwriteUserTypes(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)
-