| Package | Description |
|---|---|
| org.gatein.api.security |
| Modifier and Type | Method and Description |
|---|---|
static Membership |
Membership.any(String... group)
Creates a new membership for any membership type in the specified group
|
static Membership |
Membership.fromString(String membership) |
| Modifier and Type | Method and Description |
|---|---|
Set<Membership> |
Permission.getMemberships()
Returns all memberships with permissions to access the resource
|
| Modifier and Type | Method and Description |
|---|---|
Permission |
Permission.addMembership(Membership membership)
Creates a new permission that includes all memberships of this permission and the specified membership
|
| Constructor and Description |
|---|
Permission(Membership membership)
Creates a permission where users with the specified membership can access the resource
|
| Constructor and Description |
|---|
Permission(Set<Membership> memberships)
Creates a permission where users with one or more of the specified memberships can access the resource
|
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.