|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectno.feide.moria.authorization.AuthorizationAttribute
final class AuthorizationAttribute
This class represents an LDAP attribute and is used for authorization of a
web service. Both AuthorizationManager and AuthorizationClient have lists of attributes.
| Field Summary | |
|---|---|
private boolean |
allowSSO
Is this attribute allowed in use with SSO? |
private int |
hashCode
Cached hash code. |
private java.lang.String |
name
Name of attribute. |
private int |
secLevel
Security level. |
| Constructor Summary | |
|---|---|
AuthorizationAttribute(java.lang.String name,
boolean allowSSO,
int secLevel)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
Returns true if the supplied object is identical to this one. |
boolean |
getAllowSSO()
Returns true if the attribute is allowed in use with SSO. |
java.lang.String |
getName()
Gets the name of attribute. |
int |
getSecLevel()
Gets the security level of this attribute. |
int |
hashCode()
Generates a hashCode from the object's attributes. |
java.lang.String |
toString()
Returns a string representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private volatile int hashCode
private java.lang.String name
private boolean allowSSO
private int secLevel
| Constructor Detail |
|---|
AuthorizationAttribute(java.lang.String name,
boolean allowSSO,
int secLevel)
name - Name of attribute.allowSSO - Allow use of SSO with this attribute.secLevel - The attribute's security level.
java.lang.IllegalArgumentException - If name is null or
an empty string, or secLevel is not between
0 and 2, inclusive.| Method Detail |
|---|
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectobject - The object to compare with.
public int hashCode()
hashCode in class java.lang.Objectpublic int getSecLevel()
public java.lang.String getName()
public boolean getAllowSSO()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||