Class AuthenticationUtil


  • public class AuthenticationUtil
    extends Object
    Authentication utilities.
    Since:
    10.3.0
    Version:
    $Revision: 22603 $ $Date: 2019-03-28 21:05:11 -0300 (Thu, 28 Mar 2019) $
    • Constructor Detail

      • AuthenticationUtil

        public AuthenticationUtil()
    • Method Detail

      • getGroupsIdsInUserSession

        public static Collection<String> getGroupsIdsInUserSession​(SessionConfig session)
                                                            throws PortalException
        Returns the groups of the user of the given session.
        Parameters:
        session - the session.
        Returns:
        the groups of the user of the given session.
        Throws:
        PortalException
        Since:
        10.3.0
      • getGroupsNamesInUserSession

        public static Collection<String> getGroupsNamesInUserSession​(SessionConfig session)
                                                              throws PortalException
        Returns the groups of the user of the given session.
        Parameters:
        session - the session.
        Returns:
        the groups of the user of the given session.
        Throws:
        PortalException
        Since:
        11.2.0
      • getGroupsAliasesInUserSession

        public static Collection<String> getGroupsAliasesInUserSession​(SessionConfig session)
                                                                throws PortalException
        Returns the groups of the user of the given session.
        Parameters:
        session - the session.
        Returns:
        the groups of the user of the given session.
        Throws:
        PortalException
        Since:
        11.2.0
      • getUserSegmentations

        public static Collection<String> getUserSegmentations​(SessionConfig session)
                                                       throws PortalException
        Returns the groups of the user of the given session.
        Parameters:
        session - the session.
        Returns:
        the groups of the user of the given session.
        Throws:
        PortalException
        Since:
        11.2.0
      • getUserPrincipalsInUserSession

        public static Collection<String> getUserPrincipalsInUserSession​(SessionConfig session)
                                                                 throws PortalException
        Returns the groups of the user of the given session.
        Parameters:
        session - the session.
        Returns:
        the groups of the user of the given session.
        Throws:
        PortalException
        Since:
        11.2.0
      • updateGroupMembershipLastUpdated

        public static void updateGroupMembershipLastUpdated()
                                                     throws PortalException
        Updates the group membership last updated date time over the cluster.
        Throws:
        PortalException
        Since:
        10.3.0