|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.security.common.PrincipalImpl
org.glassfish.security.common.FileRealmHelper.User
public static class FileRealmHelper.User
Represents a FileRealm user.
| Constructor Summary | |
|---|---|
FileRealmHelper.User(String name)
Constructor. |
|
FileRealmHelper.User(String name,
String[] groups,
String realm,
byte[] salt,
byte[] hash,
String algo)
Constructor. |
|
| Method Summary | |
|---|---|
String |
getAlgo()
|
String[] |
getGroups()
Return the names of the groups this user belongs to. |
byte[] |
getHash()
Get hash value. |
byte[] |
getSalt()
Returns salt value. |
void |
setAlgo(String algo)
|
void |
setGroups(String[] grp)
Set group membership. |
void |
setHash(byte[] hash)
Set hash value. |
void |
setSalt(byte[] salt)
Set salt value. |
| Methods inherited from class org.glassfish.security.common.PrincipalImpl |
|---|
equals, getName, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FileRealmHelper.User(String name)
public FileRealmHelper.User(String name,
String[] groups,
String realm,
byte[] salt,
byte[] hash,
String algo)
name - User name.groups - Group memerships.realm - Realm.salt - SSHA salt.hash - SSHA password hash.| Method Detail |
|---|
public byte[] getSalt()
public void setSalt(byte[] salt)
public byte[] getHash()
public void setHash(byte[] hash)
public String[] getGroups()
public void setGroups(String[] grp)
public String getAlgo()
public void setAlgo(String algo)
algo - the algo to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||