public class SimplePrincipal extends Object implements Principal, Serializable
Constructor and Description |
---|
SimplePrincipal(String name)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Compares this principal to the specified object.
|
String |
getName()
Returns the name of this principal.
|
int |
hashCode()
Returns a hashcode for this principal.
|
String |
toString()
Returns a string representation of this principal.
|
public SimplePrincipal(String name)
Copyright © 2020 B3Partners B.V.. All rights reserved.