Class JaasSecurityRealm.JaasAuthorizationIdentity

    • Constructor Detail

      • JaasAuthorizationIdentity

        private JaasAuthorizationIdentity​(Principal principal,
                                          Subject subject)
    • Method Detail

      • getCallerPrincipal

        private Principal getCallerPrincipal​(Subject subject)
        Obtains the caller principal from the specified Subject. This method looks for a group called CallerPrincipal and if it finds one it returns the first Principal in the group.
        subject - the Subject to be inspected.
        the first Principal found in the CallerPrincipal group or null if a caller principal couldn't be found.