- All Superinterfaces:
IuAuthorizationDetails
Caller client identification and authentication details for authorizing
remote invocation.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGets the principal name of the authenticated user.default StringGets the principal name of the impersonated user.Gets the remote client IP address.Gets the full request URI to the resource that issued the token.default StringgetType()Authorization details type.Gets the caller's user agent.
-
Field Details
-
TYPE
Authorization details type value to match.- See Also:
-
-
Method Details
-
getType
Description copied from interface:IuAuthorizationDetailsAuthorization details type.- Specified by:
getTypein interfaceIuAuthorizationDetails- Returns:
- type string
- See Also:
-
getRequestUri
URI getRequestUri()Gets the full request URI to the resource that issued the token.- Returns:
- Request URI
-
getRemoteAddr
String getRemoteAddr()Gets the remote client IP address.- Returns:
- IP address
-
getUserAgent
String getUserAgent()Gets the caller's user agent.- Returns:
- User-Agent header value
-
getAuthnPrincipal
String getAuthnPrincipal()Gets the principal name of the authenticated user.- Returns:
- Principal name
-
getImpersonatedPrincipal
Gets the principal name of the impersonated user.- Returns:
- Principal name; null (default) if impersonation is not in use, SHOULD be null in production environments
-