public interface UserManagementService
| Modifier and Type | Method and Description |
|---|---|
void |
assignToGroup(org.apache.jackrabbit.api.JackrabbitSession session,
org.apache.jackrabbit.api.security.user.UserManager userManager,
org.apache.jackrabbit.api.security.user.Authorizable authorizable,
String groupName)
Assign an member (user or group) to a group if not always a member.
|
void |
assignToGroup(org.apache.jackrabbit.api.JackrabbitSession session,
org.apache.jackrabbit.api.security.user.UserManager userManager,
String memberName,
org.apache.jackrabbit.api.security.user.Group group)
Assign an member (user or group) to a group if not always a member.
|
org.apache.jackrabbit.api.security.user.Group |
getOrCreateGroup(org.apache.jackrabbit.api.JackrabbitSession session,
org.apache.jackrabbit.api.security.user.UserManager userManager,
String pathAndName)
Retrieves a group by their name; if the group doesn't exist the group will be created.
|
org.apache.jackrabbit.api.security.user.Authorizable |
getOrCreateUser(org.apache.jackrabbit.api.JackrabbitSession session,
org.apache.jackrabbit.api.security.user.UserManager userManager,
String pathAndName,
boolean systemUser)
Retrieves a user by its name; if the user doesn't exist the user will be created.
|
org.apache.jackrabbit.api.security.user.Authorizable getOrCreateUser(org.apache.jackrabbit.api.JackrabbitSession session,
org.apache.jackrabbit.api.security.user.UserManager userManager,
String pathAndName,
boolean systemUser)
throws javax.jcr.RepositoryException
pathAndName - the name of the user with an optional prepended intermediate path for user creationjavax.jcr.RepositoryExceptionorg.apache.jackrabbit.api.security.user.Group getOrCreateGroup(org.apache.jackrabbit.api.JackrabbitSession session,
org.apache.jackrabbit.api.security.user.UserManager userManager,
String pathAndName)
throws javax.jcr.RepositoryException
pathAndName - the name of the group with an optional prepended intermediate path for group creationjavax.jcr.RepositoryExceptionvoid assignToGroup(org.apache.jackrabbit.api.JackrabbitSession session,
org.apache.jackrabbit.api.security.user.UserManager userManager,
org.apache.jackrabbit.api.security.user.Authorizable authorizable,
String groupName)
throws javax.jcr.RepositoryException
authorizable - the name of the authorizable (the name only)groupName - the name of the group (the simple name only)javax.jcr.RepositoryExceptionvoid assignToGroup(org.apache.jackrabbit.api.JackrabbitSession session,
org.apache.jackrabbit.api.security.user.UserManager userManager,
String memberName,
org.apache.jackrabbit.api.security.user.Group group)
throws javax.jcr.RepositoryException
memberName - the name of the authorizable (the name only)javax.jcr.RepositoryExceptionCopyright © 2021. All rights reserved.