Class SecurityInfoHelper


  • public class SecurityInfoHelper
    extends Object
    Version:
    $Revision: 1 $
    Author:
    Bill Burke
    • Constructor Detail

      • SecurityInfoHelper

        public SecurityInfoHelper()
    • Method Detail

      • propagateSessionInfo

        public static void propagateSessionInfo​(KeycloakAccount account)
      • getPrincipal

        protected static 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