Class AuthenticationUtil


  • public class AuthenticationUtil
    extends java.lang.Object
    Authentication utilities.
    Since:
    10.3.0
    Version:
    $Revision$ $Date$
    • Constructor Detail

      • AuthenticationUtil

        public AuthenticationUtil()
    • Method Detail

      • getGroupsIdsInUserSession

        public static java.util.Collection<java.lang.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 java.util.Collection<java.lang.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 java.util.Collection<java.lang.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 java.util.Collection<java.lang.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 java.util.Collection<java.lang.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