Class BasicAuthPrincipal<UserInfo>
java.lang.Object
io.servicetalk.http.security.auth.basic.jersey.BasicAuthPrincipal<UserInfo>
- Type Parameters:
UserInfo
- the type of user info objects wrapped by this instance
- All Implemented Interfaces:
Principal
A generic
Principal
that wraps a user provided UserInfo
.-
Constructor Details
-
BasicAuthPrincipal
Create a new instance.- Parameters:
userInfo
- the wrappedUserInfo
-
-
Method Details
-
userInfo
Get the wrappedUserInfo
.- Returns:
- the wrapped
UserInfo
-
getName
-
toString
-
equals
-
hashCode
public int hashCode()
-