| Package | Description |
|---|---|
| org.osgl.aaa | |
| org.osgl.aaa.impl |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Permission
This interface represents a permission, such as that used to grant a particular type of access to a resource.
|
interface |
Principal
This interface represents the abstract notion of a principal, which can be used to represent any entity, such as an individual, a corporation, and a login id.
|
interface |
Privilege
Unlike
permission which implements a fine grained authorization scheme, Privilege implements a coarse grained authorization. |
interface |
Role
Role can be used to organize a list of
permissions into a group. |
| Modifier and Type | Field and Description |
|---|---|
static org.osgl.Lang.F1<AAAObject,String> |
AAAObject.F.NAME_FETCHER |
| Modifier and Type | Method and Description |
|---|---|
<T extends AAAObject> |
AAAPersistentService.findByName(String name,
Class<T> clz)
Get the AAAObject by name and type.
|
static <T extends AAAObject> |
AAAObject.F.nameFetcher() |
static <T extends AAAObject> |
AAAObject.F.nameMatcher(String name) |
static <T extends AAAObject> |
AAAObject.F.nameVisitor(org.osgl.Lang.Function<String,?> visitor) |
<T extends AAAObject> |
AAAPersistentService.removeAll(Class<T> clz)
Remove all AAAObject from persistent store
|
| Modifier and Type | Method and Description |
|---|---|
void |
AAAPersistentService.remove(AAAObject aaaObject)
Remove the AAAObject from persistent storage
|
void |
AAAPersistentService.save(AAAObject aaaObject)
Save the AAAObject to persistent storage
|
| Modifier and Type | Class and Description |
|---|---|
class |
AAAObjectBase
Provides a base AAAObject implementation
|
class |
Anonymous |
class |
SimplePermission
An immutable permission implementation
|
class |
SimplePrincipal
A simple and immutable
Principal implementation. |
class |
SimplePrivilege
A simple and immutable
Privilege implementation |
class |
SimpleRole
A simple and immutable
Privilege implementation. |
Copyright © 2017–2020 OSGL (Open Source General Library). All rights reserved.