Class GenericPrincipalFactory

    • Constructor Detail

      • GenericPrincipalFactory

        public GenericPrincipalFactory()
    • Method Detail

      • createPrincipal

        protected abstract org.apache.catalina.realm.GenericPrincipal createPrincipal​(Principal userPrincipal,
                                                                                      List<String> roles)
      • getPrincipal

        protected Principal getPrincipal​(Subject subject)
        Get the Principal given the authenticated Subject. Currently the first subject that is not of type Group is considered or the single subject inside the CallerPrincipal group.
        Parameters:
        subject -
        Returns:
        the authenticated subject