Package lumis.portal.authentication
Class AuthenticationUtil
- java.lang.Object
-
- lumis.portal.authentication.AuthenticationUtil
-
public class AuthenticationUtil extends java.lang.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 java.util.Collection<java.lang.String>
getGroupsAliasesInUserSession(SessionConfig session)
Returns the groups of the user of the given session.static java.util.Collection<java.lang.String>
getGroupsIdsInUserSession(SessionConfig session)
Returns the groups of the user of the given session.static java.util.Collection<java.lang.String>
getGroupsNamesInUserSession(SessionConfig session)
Returns the groups of the user of the given session.static java.util.Collection<java.lang.String>
getUserPrincipalsInUserSession(SessionConfig session)
Returns the groups of the user of the given session.static java.util.Collection<java.lang.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 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
-
-