Class SimpleUserPrincipal
- java.lang.Object
-
- org.infinispan.server.core.security.simple.SimpleUserPrincipal
-
- All Implemented Interfaces:
Principal
,UserPrincipal
@SerializeWith(Externalizer.class) public final class SimpleUserPrincipal extends Object implements UserPrincipal
SimpleUserPrincipal.- Since:
- 7.0
- Author:
- Tristan Tarrant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SimpleUserPrincipal.Externalizer
-
Constructor Summary
Constructors Constructor Description SimpleUserPrincipal(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
boolean
equals(SimpleUserPrincipal other)
String
getName()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
SimpleUserPrincipal
public SimpleUserPrincipal(String name)
-
-
Method Detail
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object other)
-
equals
public boolean equals(SimpleUserPrincipal other)
-
-