|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.n52.security.authentication.LicensePrincipal
public class LicensePrincipal
Class LicensePrincipal is used to transport a license reference within the subject.
Constructor Summary | |
---|---|
LicensePrincipal(LicenseReference licref)
Constructor creates a new instance. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Method checks equality. |
LicenseReference |
getLicenseReference()
Method gets the transported license reference. |
java.lang.String |
getName()
Returns the name of this principal. |
int |
hashCode()
creates a hashCode. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.security.Principal |
---|
toString |
Constructor Detail |
---|
public LicensePrincipal(LicenseReference licref)
licref
- the licref.Method Detail |
---|
public LicenseReference getLicenseReference()
public java.lang.String getName()
getName
in interface java.security.Principal
public boolean equals(java.lang.Object o)
equals
in interface java.security.Principal
equals
in class java.lang.Object
o
- the o.
public int hashCode()
hashCode
in interface java.security.Principal
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |