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[] |
newFilter(Filter filter)
Invoked whenever a new filter is created
|
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.public AuthorizationEntity[] newFilter(Filter filter)
ResourceAuthorizationProvider
Invoked whenever a new filter is created
newFilter
in interface ResourceAuthorizationProvider
filter
- the newly created filterFilter
is created.Copyright © 2018. All rights reserved.