Class OAuth2UserPrincipal
- java.lang.Object
-
- org.apache.qpid.server.security.auth.manager.oauth2.OAuth2UserPrincipal
-
- All Implemented Interfaces:
Serializable
,Principal
,QpidPrincipal
public class OAuth2UserPrincipal extends Object implements QpidPrincipal
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OAuth2UserPrincipal(String name, String accessToken, AuthenticationProvider<?> authenticationProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getAccessToken()
String
getName()
ConfiguredObject<?>
getOrigin()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
OAuth2UserPrincipal
public OAuth2UserPrincipal(String name, String accessToken, AuthenticationProvider<?> authenticationProvider)
-
-
Method Detail
-
getAccessToken
public String getAccessToken()
-
getOrigin
public ConfiguredObject<?> getOrigin()
- Specified by:
getOrigin
in interfaceQpidPrincipal
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
-