public static class TestSecurityManager.User extends java.lang.Object implements java.lang.Comparable<TestSecurityManager.User>, java.security.Principal, java.io.Serializable
Constructor and Description |
---|
User(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TestSecurityManager.User user) |
static TestSecurityManager.User |
create(java.lang.String name) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName() |
int |
hashCode() |
java.lang.String |
toString() |
public static TestSecurityManager.User create(java.lang.String name)
public java.lang.String getName()
getName
in interface java.security.Principal
public int compareTo(TestSecurityManager.User user)
compareTo
in interface java.lang.Comparable<TestSecurityManager.User>
public boolean equals(java.lang.Object obj)
equals
in interface java.security.Principal
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface java.security.Principal
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface java.security.Principal
toString
in class java.lang.Object