Package org.gluu.oxauth.service
Class UserGroupService
- java.lang.Object
-
- org.gluu.oxauth.service.UserGroupService
-
@ApplicationScoped public class UserGroupService extends java.lang.Object
It's utility service which applications uses in custom authentication scripts- Version:
- 0.9, 27/07/2012
- Author:
- Yuriy Zabrovarnyy, Yuriy Movchan Date: 04/11/2014
-
-
Constructor Summary
Constructors Constructor Description UserGroupService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isInAnyGroup(java.lang.String[] p_groupDNs, java.lang.String p_userDN)
boolean
isInAnyGroup(java.util.List<java.lang.String> p_groupDNs, java.lang.String p_userDN)
boolean
isUserInGroup(java.lang.String p_groupDN, java.lang.String p_userDN)
boolean
isUserInGroupOrMember(java.lang.String groupDn, java.lang.String personDn)
UserGroup
loadGroup(java.lang.String p_groupDN)
-
-
-
Method Detail
-
loadGroup
public UserGroup loadGroup(java.lang.String p_groupDN)
-
isUserInGroup
public boolean isUserInGroup(java.lang.String p_groupDN, java.lang.String p_userDN)
-
isUserInGroupOrMember
public boolean isUserInGroupOrMember(java.lang.String groupDn, java.lang.String personDn)
-
isInAnyGroup
public boolean isInAnyGroup(java.lang.String[] p_groupDNs, java.lang.String p_userDN)
-
isInAnyGroup
public boolean isInAnyGroup(java.util.List<java.lang.String> p_groupDNs, java.lang.String p_userDN)
-
-