Class LdapGroupRefService
- java.lang.Object
-
- com.netgrif.application.engine.ldap.service.LdapGroupRefService
-
- All Implemented Interfaces:
ILdapGroupRefService
@Service @ConditionalOnExpression("${nae.ldap.enabled:false}") public class LdapGroupRefService extends java.lang.Object implements ILdapGroupRefService
-
-
Constructor Summary
Constructors Constructor Description LdapGroupRefService(LdapConfiguration ldapConfiguration, LdapGroupRoleRepository ldapGroupRoleRepository, IProcessRoleService processRoleService, NaeLdapProperties ldapProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteProcessRole(LdapGroup ldapGroup, java.lang.String petriNet)
void
deleteProcessRoleByPetrinet(java.lang.String petriNet)
java.util.List<LdapGroupRef>
findAllGroups()
java.util.List<LdapGroup>
getAllLdapGroupRoles()
java.util.Set<ProcessRole>
getProcessRoleByLdapGroup(java.util.Set<java.lang.String> groupDn)
java.util.List<LdapGroupRef>
searchGroups(java.lang.String fulltext)
java.util.List<LdapGroupRef>
searchGroups(org.springframework.ldap.query.LdapQuery ldapQuery)
void
setRoleToLdapGroup(java.lang.String groupDn, java.util.Set<java.lang.String> requestedRolesIds, LoggedUser loggedUser)
-
-
-
Constructor Detail
-
LdapGroupRefService
public LdapGroupRefService(LdapConfiguration ldapConfiguration, LdapGroupRoleRepository ldapGroupRoleRepository, IProcessRoleService processRoleService, NaeLdapProperties ldapProperties)
-
-
Method Detail
-
findAllGroups
public java.util.List<LdapGroupRef> findAllGroups()
- Specified by:
findAllGroups
in interfaceILdapGroupRefService
-
searchGroups
public java.util.List<LdapGroupRef> searchGroups(java.lang.String fulltext)
- Specified by:
searchGroups
in interfaceILdapGroupRefService
-
searchGroups
public java.util.List<LdapGroupRef> searchGroups(org.springframework.ldap.query.LdapQuery ldapQuery)
- Specified by:
searchGroups
in interfaceILdapGroupRefService
-
getAllLdapGroupRoles
public java.util.List<LdapGroup> getAllLdapGroupRoles()
- Specified by:
getAllLdapGroupRoles
in interfaceILdapGroupRefService
-
deleteProcessRoleByPetrinet
public void deleteProcessRoleByPetrinet(java.lang.String petriNet)
- Specified by:
deleteProcessRoleByPetrinet
in interfaceILdapGroupRefService
-
deleteProcessRole
public void deleteProcessRole(LdapGroup ldapGroup, java.lang.String petriNet)
- Specified by:
deleteProcessRole
in interfaceILdapGroupRefService
-
getProcessRoleByLdapGroup
public java.util.Set<ProcessRole> getProcessRoleByLdapGroup(java.util.Set<java.lang.String> groupDn)
- Specified by:
getProcessRoleByLdapGroup
in interfaceILdapGroupRefService
-
setRoleToLdapGroup
public void setRoleToLdapGroup(java.lang.String groupDn, java.util.Set<java.lang.String> requestedRolesIds, LoggedUser loggedUser)
- Specified by:
setRoleToLdapGroup
in interfaceILdapGroupRefService
-
-