public class DefaultAuthorizationProvider extends Object implements ResourceAuthorizationProvider
Provides the default authorizations for camunda BPM.
Constructor and Description |
---|
DefaultAuthorizationProvider() |
Modifier and Type | Method and Description |
---|---|
AuthorizationEntity[] |
groupMembershipCreated(String groupId,
String userId)
Invoked whenever a user is added to a group
|
AuthorizationEntity[] |
newGroup(Group group)
Invoked whenever a new group is created
|
AuthorizationEntity[] |
newUser(User user)
Invoked whenever a new user is created
|
public AuthorizationEntity[] newUser(User user)
ResourceAuthorizationProvider
Invoked whenever a new user is created
newUser
in interface ResourceAuthorizationProvider
user
- a newly created userpublic AuthorizationEntity[] newGroup(Group group)
ResourceAuthorizationProvider
Invoked whenever a new group is created
newGroup
in interface ResourceAuthorizationProvider
User
is created.public AuthorizationEntity[] groupMembershipCreated(String groupId, String userId)
ResourceAuthorizationProvider
Invoked whenever a user is added to a group
groupMembershipCreated
in interface ResourceAuthorizationProvider
groupId
- the id of the group to which the user is addeduserId
- the id of the user who is added to a group a newly created
User
User
is created.Copyright © 2015. All rights reserved.