Package lumis.portal.authentication
Class AuthenticationUtil
- java.lang.Object
-
- lumis.portal.authentication.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 Summary
Constructors Constructor Description AuthenticationUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Collection<String>
getGroupsAliasesInUserSession(SessionConfig session)
Returns the groups of the user of the given session.static Collection<String>
getGroupsIdsInUserSession(SessionConfig session)
Returns the groups of the user of the given session.static Collection<String>
getGroupsNamesInUserSession(SessionConfig session)
Returns the groups of the user of the given session.static Collection<String>
getUserPrincipalsInUserSession(SessionConfig session)
Returns the groups of the user of the given session.static Collection<String>
getUserSegmentations(SessionConfig session)
Returns the groups of the user of the given session.static void
updateGroupMembershipLastUpdated()
Updates the group membership last updated date time over the cluster.
-
-
-
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
-
-