Class UsernamePrincipal
- java.lang.Object
-
- org.apache.qpid.server.security.auth.UsernamePrincipal
-
- All Implemented Interfaces:
Serializable
,Principal
,QpidPrincipal
public class UsernamePrincipal extends Object implements QpidPrincipal
A principal that is just a wrapper for a simple username.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UsernamePrincipal(String name, AuthenticationProvider<?> authenticationProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getName()
AuthenticationProvider<?>
getOrigin()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
UsernamePrincipal
public UsernamePrincipal(String name, AuthenticationProvider<?> authenticationProvider)
-
-
Method Detail
-
toString
public String toString()
-
getOrigin
public AuthenticationProvider<?> getOrigin()
- Specified by:
getOrigin
in interfaceQpidPrincipal
-
equals
public boolean equals(Object o)
-
-