Skip navigation links
A B C D E F G H I L N O P R S T U V 

A

AAA - Enum in org.osgl.aaa
The facade to access osgl aaa security library functions
AAAContext - Class in org.osgl.aaa
 
AAAContext() - Constructor for class org.osgl.aaa.AAAContext
 
AAAContextBase - Class in org.osgl.aaa.impl
 
AAAContextBase() - Constructor for class org.osgl.aaa.impl.AAAContextBase
 
AAAObject - Interface in org.osgl.aaa
Defines the common properties of AAA objects including
AAAObject.F - Class in org.osgl.aaa
 
AAAObjectBase - Class in org.osgl.aaa.impl
Provides a base AAAObject implementation
AAAObjectBase() - Constructor for class org.osgl.aaa.impl.AAAObjectBase
This constructor is designed to be used by tools like ORM to deserialize the object from a certain persistent storage
AAAObjectBase(String) - Constructor for class org.osgl.aaa.impl.AAAObjectBase
Construct the AAAObject by name
AAAPersistentService - Interface in org.osgl.aaa
Define a persistent storage for AAAObject
addImplied(Permission) - Method in class org.osgl.aaa.impl.SimplePermission.Builder
 
ALL_PERMISSION_GETTER - Static variable in class org.osgl.aaa.Principal.F
 
allowSuperUser() - Method in class org.osgl.aaa.AAAContext
 
allowSuperUser() - Method in class org.osgl.aaa.impl.SimpleAAAContext
 
AllowSystemAccount - Annotation Type in org.osgl.aaa
Indicate AAAContext.getSystemPrincipal() system} principal could be used if AAAContext.getCurrentPrincipal() current} principal is null
allPermissionNames() - Static method in enum org.osgl.aaa.AAA
Returns name of all permissions
allPermissionNames() - Method in class org.osgl.aaa.AAAContext
Returns name of all permissions
allPermissionNames() - Method in interface org.osgl.aaa.AAAPersistentService
Returns name of all permissions
allPermissions() - Static method in enum org.osgl.aaa.AAA
Returns all permissions
allPermissions() - Method in class org.osgl.aaa.AAAContext
Returns all permissions
allPermissions() - Method in interface org.osgl.aaa.AAAPersistentService
Returns all permissions
allPermissionsOf(Principal) - Static method in class org.osgl.aaa.Principal.F
 
allPermissionVisitor(Lang.Visitor<Permission>) - Static method in class org.osgl.aaa.Principal.F
 
allPrivilegeNames() - Static method in enum org.osgl.aaa.AAA
Returns name of all privileges
allPrivilegeNames() - Method in class org.osgl.aaa.AAAContext
Returns name of all privileges
allPrivilegeNames() - Method in interface org.osgl.aaa.AAAPersistentService
Returns name of all privileges
allPrivileges() - Static method in enum org.osgl.aaa.AAA
Returns all privileges
allPrivileges() - Method in class org.osgl.aaa.AAAContext
Returns all privileges
allPrivileges() - Method in interface org.osgl.aaa.AAAPersistentService
Returns all privileges
allRoleNames() - Static method in enum org.osgl.aaa.AAA
Returns name of all roles
allRoleNames() - Method in class org.osgl.aaa.AAAContext
Returns name of all roles
allRoleNames() - Method in interface org.osgl.aaa.AAAPersistentService
Returns name of all roles
allRoles() - Static method in enum org.osgl.aaa.AAA
Returns all roles
allRoles() - Method in class org.osgl.aaa.AAAContext
Returns all roles
allRoles() - Method in interface org.osgl.aaa.AAAPersistentService
Returns all roles
Anonymous - Class in org.osgl.aaa.impl
 
Anonymous(String) - Constructor for class org.osgl.aaa.impl.Anonymous
Construct an anonymous with an identifier, e.g.
audit(Object, Principal, String, String, boolean, String) - Method in interface org.osgl.aaa.Auditor
Log the authorizing process
audit(Object, Principal, String, String, boolean, String) - Method in class org.osgl.aaa.impl.DumbAuditor
 
Auditor - Interface in org.osgl.aaa
The implementation of this interface shall provide the underline infrastructure to log the authorizing process
Auditor.Target - Interface in org.osgl.aaa
It is recommended that the object which can be a target of auditing to implement this interface
auditTag() - Method in interface org.osgl.aaa.Auditor.Target
Returns a string that can identify the audit target in the log
authenticate(String, String) - Method in interface org.osgl.aaa.AuthenticationService
Authenticate using username and password.
authenticate(String, char[]) - Method in interface org.osgl.aaa.AuthenticationService
Authenticate using username and password.
AuthenticationService - Interface in org.osgl.aaa
An AuthenticationService implementation shall provide the logic to authenticate a Principal with the supplied username and password
AuthorizationService - Interface in org.osgl.aaa
 

B

Builder(String) - Constructor for class org.osgl.aaa.impl.SimplePermission.Builder
 
Builder(Principal) - Constructor for class org.osgl.aaa.impl.SimplePrincipal.Builder
 
Builder(String) - Constructor for class org.osgl.aaa.impl.SimplePrincipal.Builder
 
Builder(String) - Constructor for class org.osgl.aaa.impl.SimpleRole.Builder
 

C

clearContext() - Static method in enum org.osgl.aaa.AAA
Clear AAAContext thread local
compareTo(Privilege) - Method in class org.osgl.aaa.impl.SimplePrivilege
 
compareTo(Privilege) - Method in interface org.osgl.aaa.Privilege
Compare a privilege to another privilege.
context() - Static method in enum org.osgl.aaa.AAA
Return the context from the current thread local
createSuperUser() - Static method in enum org.osgl.aaa.AAA
Create a default super user principal with name “su
createSuperUser(String) - Static method in enum org.osgl.aaa.AAA
Create a super user principal with name specified.
createSystemPrincipal(String) - Static method in class org.osgl.aaa.impl.SimplePrincipal
 

D

DumbAuditor - Class in org.osgl.aaa.impl
Do nothing implementation of Auditor
DumbAuditor() - Constructor for class org.osgl.aaa.impl.DumbAuditor
 
dynamic - Variable in class org.osgl.aaa.impl.SimplePermission.Builder
 
dynamic(boolean) - Method in class org.osgl.aaa.impl.SimplePermission.Builder
 
DynamicPermissionCheckHelper<T> - Interface in org.osgl.aaa
Dynamic permission check helper could be implemented by application to provide a fain grained authorization on instance level

E

equals(Object) - Method in interface org.osgl.aaa.AAAObject
Compare this AAAObject to another object
equals(Object) - Method in class org.osgl.aaa.impl.AAAObjectBase
 
EXPAND_PERMISSION - Static variable in class org.osgl.aaa.impl.SimplePrincipal
 

F

F() - Constructor for class org.osgl.aaa.AAAObject.F
 
F() - Constructor for class org.osgl.aaa.Permission.F
 
F() - Constructor for class org.osgl.aaa.Principal.F
 
F() - Constructor for class org.osgl.aaa.Privilege.F
 
F() - Constructor for class org.osgl.aaa.Role.F
 
findByName(String, Class<T>) - Method in interface org.osgl.aaa.AAAPersistentService
Get the AAAObject by name and type.
findPrivilege(int) - Static method in enum org.osgl.aaa.AAA
Get a Privilege by level
findPrivilege(int) - Method in class org.osgl.aaa.AAAContext
Get a Privilege by level
findPrivilege(int) - Method in interface org.osgl.aaa.AAAPersistentService
Get a Privilege by level

G

getAllPermissions(Principal, AAAContext) - Method in interface org.osgl.aaa.AuthorizationService
Returns permissions granted to the principal direclty plus all permissions granted to all roles granted to the principal
getAllPermissions(Principal, AAAContext) - Method in class org.osgl.aaa.impl.SimpleAuthorizationService
 
getAnonymousPrincipal() - Method in class org.osgl.aaa.AAAContext
Returns an anonymous principal in case current principal is not provided and the system principal is not allowed.
getAuditor() - Method in class org.osgl.aaa.AAAContext
Returns the Auditor implementation
getAuditor() - Method in class org.osgl.aaa.impl.SimpleAAAContext
 
getAuthenticationService() - Method in class org.osgl.aaa.AAAContext
Returns the AuthenticationService implementation
getAuthenticationService() - Method in class org.osgl.aaa.impl.SimpleAAAContext
 
getAuthorizationService() - Method in class org.osgl.aaa.AAAContext
Returns the AuthorizationService implementation
getAuthorizationService() - Method in class org.osgl.aaa.impl.SimpleAAAContext
 
getCurrentPrincipal() - Method in class org.osgl.aaa.AAAContext
Returns a principal that initiate the current session
getCurrentPrincipal() - Method in class org.osgl.aaa.impl.AAAContextBase
 
getGuardedTarget() - Method in class org.osgl.aaa.AAAContext
Get the guarded target object set previously via AAAContext.setGuardedTarget(Object) call
getGuardedTarget() - Method in class org.osgl.aaa.impl.AAAContextBase
 
getImplied() - Method in class org.osgl.aaa.impl.SimplePermission
 
getLevel() - Method in class org.osgl.aaa.impl.SimplePrivilege
 
getLevel() - Method in interface org.osgl.aaa.Privilege
Returns the level of the privilege.
getName() - Method in interface org.osgl.aaa.AAAObject
Returns the name of the object.
getName() - Method in class org.osgl.aaa.impl.AAAObjectBase
 
getPermissions(Principal, AAAContext) - Method in interface org.osgl.aaa.AuthorizationService
Returns permissions granted to the principal directly
getPermissions(Role, AAAContext) - Method in interface org.osgl.aaa.AuthorizationService
Returns all permissions of a Role role
getPermissions(Role, AAAContext) - Method in class org.osgl.aaa.impl.SimpleAuthorizationService
 
getPermissions(Principal, AAAContext) - Method in class org.osgl.aaa.impl.SimpleAuthorizationService
 
getPermissions() - Method in class org.osgl.aaa.impl.SimplePrincipal
 
getPermissions() - Method in class org.osgl.aaa.impl.SimpleRole
 
getPermissions() - Method in interface org.osgl.aaa.Principal
Returns permissions been granted to the principal
getPermissions() - Method in interface org.osgl.aaa.Role
Returns a list of permissions associated with this role.
getPersistentService() - Method in class org.osgl.aaa.AAAContext
Returns the AAAPersistentService implementation
getPersistentService() - Method in class org.osgl.aaa.impl.SimpleAAAContext
 
getPrincipal(boolean) - Method in class org.osgl.aaa.AAAContext
Returns a principal.
getPrivilege(Principal, AAAContext) - Method in interface org.osgl.aaa.AuthorizationService
Returns the Privilege of a Principal
getPrivilege(Principal, AAAContext) - Method in class org.osgl.aaa.impl.SimpleAuthorizationService
 
getPrivilege() - Method in class org.osgl.aaa.impl.SimplePrincipal
 
getPrivilege() - Method in interface org.osgl.aaa.Principal
Returns the privilege granted to the principal
getProperty(String) - Method in interface org.osgl.aaa.AAAObject
Return property value of the AAAObject
getProperty(String) - Method in class org.osgl.aaa.impl.AAAObjectBase
 
getRoles(Principal, AAAContext) - Method in interface org.osgl.aaa.AuthorizationService
Returns all roles of a Principal
getRoles(Principal, AAAContext) - Method in class org.osgl.aaa.impl.SimpleAuthorizationService
 
getRoles() - Method in class org.osgl.aaa.impl.SimplePrincipal
 
getRoles() - Method in interface org.osgl.aaa.Principal
Returns roles granted to the principal
getSuperUserLevel() - Method in class org.osgl.aaa.AAAContext
 
getSuperUserLevel() - Method in class org.osgl.aaa.impl.SimpleAAAContext
 
getSystemPrincipal() - Method in class org.osgl.aaa.AAAContext
Returns the system principal which is used by system to set up security context for background tasks
getSystemPrincipal() - Method in class org.osgl.aaa.impl.SimpleAAAContext
 
grantPermission(Permission) - Method in class org.osgl.aaa.impl.SimplePrincipal.Builder
 
grantPermission(Permission) - Method in class org.osgl.aaa.impl.SimpleRole.Builder
 
grantPrivilege(Privilege) - Method in class org.osgl.aaa.impl.SimplePrincipal.Builder
 
grantRole(Role) - Method in class org.osgl.aaa.impl.SimplePrincipal.Builder
 

H

hashCode() - Method in interface org.osgl.aaa.AAAObject
Returns a hashcode for this principal.
hashCode() - Method in class org.osgl.aaa.impl.AAAObjectBase
hash code of the object is calculated from the name and the class of the object.
hasPermission(Permission) - Static method in enum org.osgl.aaa.AAA
Check if current user has permission specified on target resource specified (implicitly)
hasPermission(String) - Static method in enum org.osgl.aaa.AAA
Check if current user has permission specified on target resource specified (implicitly)
hasPermission(Enum<?>) - Static method in enum org.osgl.aaa.AAA
Check if current user has permission specified on target resource specified (implicitly)
hasPermission(Object, Permission) - Static method in enum org.osgl.aaa.AAA
Check if current user has permission specified on target resource specified
hasPermission(Object, String) - Static method in enum org.osgl.aaa.AAA
Check if current user has permission specified on target resource specified
hasPermission(Object, Enum<?>) - Static method in enum org.osgl.aaa.AAA
Check if current user has permission specified on target resource specified
hasPermission(Object, Principal, Permission) - Static method in enum org.osgl.aaa.AAA
Check if a user has permission specified on a target
hasPermission(Object, Principal, String) - Static method in enum org.osgl.aaa.AAA
Check if a user has permission specified on a target
hasPermission(Object, Principal, Enum<?>) - Static method in enum org.osgl.aaa.AAA
Check if a user has permission specified on a target
hasPermission(Object, Permission, boolean) - Static method in enum org.osgl.aaa.AAA
Check if the current principal has permission specified on the target object.
hasPermission(Object, String, boolean) - Static method in enum org.osgl.aaa.AAA
Check if the current principal has permission specified on the target object.
hasPermission(Object, Enum<?>, boolean) - Static method in enum org.osgl.aaa.AAA
Check if the current principal has permission specified on the target object.
hasPermission(Object, Permission, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
Check if the current principal has permission specified on the guarded target resource.
hasPermission(Object, String, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
Check if the current principal has permission specified by name on the target.
hasPermission(Object, Enum<?>, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
Check if the current principal has permission specified by name on the target.
hasPermission(Object, Principal, Permission, AAAContext) - Static method in enum org.osgl.aaa.AAA
Check if the principal specified has permission specified on the target.
hasPermission(Object, Principal, String, AAAContext) - Static method in enum org.osgl.aaa.AAA
Check if the specified principal has permission specified on the target resource.
hasPermission(Object, Principal, Enum<?>, AAAContext) - Static method in enum org.osgl.aaa.AAA
Check if the specified principal has permission specified on the target resource.
hasPermission(Permission) - Method in class org.osgl.aaa.AAAContext
 
hasPermission(String) - Method in class org.osgl.aaa.AAAContext
 
hasPermission(Enum<?>) - Method in class org.osgl.aaa.AAAContext
 
hasPermission(Permission, boolean) - Method in class org.osgl.aaa.AAAContext
 
hasPermission(String, boolean) - Method in class org.osgl.aaa.AAAContext
 
hasPermission(Enum<?>, boolean) - Method in class org.osgl.aaa.AAAContext
 
hasPermission(Object, Permission) - Method in class org.osgl.aaa.AAAContext
 
hasPermission(Object, String) - Method in class org.osgl.aaa.AAAContext
 
hasPermission(Object, Enum<?>) - Method in class org.osgl.aaa.AAAContext
 
hasPermission(Object, Permission, boolean) - Method in class org.osgl.aaa.AAAContext
 
hasPermission(Object, String, boolean) - Method in class org.osgl.aaa.AAAContext
 
hasPermission(Object, Enum<?>, boolean) - Method in class org.osgl.aaa.AAAContext
 
hasPermission(Principal, Permission) - Method in class org.osgl.aaa.AAAContext
 
hasPermission(Principal, String) - Method in class org.osgl.aaa.AAAContext
 
hasPermission(Principal, Enum<?>) - Method in class org.osgl.aaa.AAAContext
 
hasPermission(Principal, Object, String) - Method in class org.osgl.aaa.AAAContext
 
hasPermission(Principal, Object, Enum<?>) - Method in class org.osgl.aaa.AAAContext
 
hasPermission(Permission) - Method in class org.osgl.aaa.impl.SimpleRole
 
hasPermission(Permission) - Method in interface org.osgl.aaa.Role
Check if the role contains a permission.
hasPermissionOrPrivilege(Permission, Privilege) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(String, String) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(String, int) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Enum<?>, Enum<?>) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Enum<?>, int) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Permission, Privilege, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(String, String, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(String, int, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Enum<?>, Enum<?>, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Enum<?>, int, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Permission, Privilege, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(String, String, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(String, int, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Enum<?>, Enum<?>, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Enum<?>, int, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, Permission, Privilege) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, String, String) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, String, int) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, Enum<?>, Enum<?>) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, Enum<?>, int) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, Permission, Privilege, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, String, String, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, String, int, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, Enum<?>, Enum<?>, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, Enum<?>, int, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, Permission, Privilege, boolean) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, String, String, boolean) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, String, int, boolean) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, Enum<?>, Enum<?>, boolean) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, Enum<?>, int, boolean) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, Permission, Privilege, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, String, String, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, String, int, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, Enum<?>, Enum<?>, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, Enum<?>, int, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, Principal, Permission, Privilege, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, Principal, String, String, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, Principal, String, int, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, Principal, Enum<?>, Enum<?>, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Object, Principal, Enum<?>, int, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
hasPermissionOrPrivilege(Permission, Privilege) - Method in class org.osgl.aaa.AAAContext
 
hasPermissionOrPrivilege(String, String) - Method in class org.osgl.aaa.AAAContext
 
hasPermissionOrPrivilege(String, int) - Method in class org.osgl.aaa.AAAContext
 
hasPermissionOrPrivilege(Enum<?>, Enum<?>) - Method in class org.osgl.aaa.AAAContext
 
hasPermissionOrPrivilege(Enum<?>, int) - Method in class org.osgl.aaa.AAAContext
 
hasPermissionOrPrivilege(Permission, Privilege, boolean) - Method in class org.osgl.aaa.AAAContext
 
hasPermissionOrPrivilege(String, String, boolean) - Method in class org.osgl.aaa.AAAContext
 
hasPermissionOrPrivilege(String, int, boolean) - Method in class org.osgl.aaa.AAAContext
 
hasPermissionOrPrivilege(Enum<?>, Enum<?>, boolean) - Method in class org.osgl.aaa.AAAContext
 
hasPermissionOrPrivilege(Enum<?>, int, boolean) - Method in class org.osgl.aaa.AAAContext
 
hasPermissionOrPrivilege(Object, Permission, Privilege) - Method in class org.osgl.aaa.AAAContext
 
hasPermissionOrPrivilege(Object, String, String) - Method in class org.osgl.aaa.AAAContext
 
hasPermissionOrPrivilege(Object, String, int) - Method in class org.osgl.aaa.AAAContext
 
hasPermissionOrPrivilege(Object, Enum<?>, Enum<?>) - Method in class org.osgl.aaa.AAAContext
 
hasPermissionOrPrivilege(Object, Enum<?>, int) - Method in class org.osgl.aaa.AAAContext
 
hasPermissionOrPrivilege(Object, Permission, Privilege, boolean) - Method in class org.osgl.aaa.AAAContext
 
hasPermissionOrPrivilege(Object, String, String, boolean) - Method in class org.osgl.aaa.AAAContext
 
hasPermissionOrPrivilege(Object, String, int, boolean) - Method in class org.osgl.aaa.AAAContext
 
hasPermissionOrPrivilege(Object, Enum<?>, Enum<?>, boolean) - Method in class org.osgl.aaa.AAAContext
 
hasPermissionOrPrivilege(Object, Enum<?>, int, boolean) - Method in class org.osgl.aaa.AAAContext
 
hasPrivilege(Privilege) - Static method in enum org.osgl.aaa.AAA
Check if the current principal has privilege required
hasPrivilege(String) - Static method in enum org.osgl.aaa.AAA
Check if the current principal has privilege required
hasPrivilege(Enum<?>) - Static method in enum org.osgl.aaa.AAA
Check if the current principal has privilege required
hasPrivilege(int) - Static method in enum org.osgl.aaa.AAA
Check if the current principal has privilege required
hasPrivilege(Privilege, boolean) - Static method in enum org.osgl.aaa.AAA
Check if the current principal has privilege required.
hasPrivilege(String, boolean) - Static method in enum org.osgl.aaa.AAA
Check if the current principal has privilege required.
hasPrivilege(Enum<?>, boolean) - Static method in enum org.osgl.aaa.AAA
Check if the current principal has privilege required.
hasPrivilege(int, boolean) - Static method in enum org.osgl.aaa.AAA
Check if the current principal has privilege required.
hasPrivilege(Privilege, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
Check if the current principal has privilege required.
hasPrivilege(String, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
Check if the current principal has privilege required.
hasPrivilege(Enum<?>, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
Check if the current principal has privilege required.
hasPrivilege(int, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
Check if the current principal has privilege required.
hasPrivilege(Principal, Privilege, AAAContext) - Static method in enum org.osgl.aaa.AAA
Check if the principal specified has privilege required.
hasPrivilege(Principal, String, AAAContext) - Static method in enum org.osgl.aaa.AAA
Check if the principal specified has privilege required.
hasPrivilege(Principal, Enum<?>, AAAContext) - Static method in enum org.osgl.aaa.AAA
Check if the principal specified has privilege required.
hasPrivilege(Principal, int, AAAContext) - Static method in enum org.osgl.aaa.AAA
Check if the principal specified has privilege required.
hasPrivilege(Privilege) - Method in class org.osgl.aaa.AAAContext
 
hasPrivilege(String) - Method in class org.osgl.aaa.AAAContext
 
hasPrivilege(Enum<?>) - Method in class org.osgl.aaa.AAAContext
 
hasPrivilege(int) - Method in class org.osgl.aaa.AAAContext
 
hasPrivilege(Principal, Privilege) - Method in class org.osgl.aaa.AAAContext
 
hasPrivilege(Principal, String) - Method in class org.osgl.aaa.AAAContext
 
hasPrivilege(Principal, Enum<?>) - Method in class org.osgl.aaa.AAAContext
 
hasPrivilege(Principal, int) - Method in class org.osgl.aaa.AAAContext
 
hasPrivilege(Privilege, boolean) - Method in class org.osgl.aaa.AAAContext
 
hasPrivilege(String, boolean) - Method in class org.osgl.aaa.AAAContext
 
hasPrivilege(Enum<?>, boolean) - Method in class org.osgl.aaa.AAAContext
 
hasPrivilege(int, boolean) - Method in class org.osgl.aaa.AAAContext
 

I

implied - Variable in class org.osgl.aaa.impl.SimplePermission.Builder
 
implied() - Method in class org.osgl.aaa.impl.SimplePermission
 
implied() - Method in interface org.osgl.aaa.Permission
Return permissions that are implied by this permission.
INSTANCE - Static variable in class org.osgl.aaa.impl.Anonymous
The pre-created anonymous instance with ID/name set to “anonymous”
INSTANCE - Static variable in class org.osgl.aaa.impl.DumbAuditor
 
IS_DYNAMIC - Static variable in class org.osgl.aaa.Permission.F
 
IS_STATIC - Static variable in class org.osgl.aaa.Permission.F
 
isAssociated(T, Principal) - Method in interface org.osgl.aaa.DynamicPermissionCheckHelper
Check if a target resource is associated with a principal.
isDynamic() - Method in class org.osgl.aaa.impl.SimplePermission
 
isDynamic() - Method in interface org.osgl.aaa.Permission
Whether this right is dynamic.
isSuperUser(Principal) - Method in class org.osgl.aaa.AAAContext
 
isSuperUser(Principal) - Method in class org.osgl.aaa.impl.SimpleAAAContext
 

L

LEVEL_FETCHER - Static variable in class org.osgl.aaa.Privilege.F
 
levelFetcher() - Static method in class org.osgl.aaa.Privilege.F
 
logger - Static variable in enum org.osgl.aaa.AAA
 

N

name - Variable in class org.osgl.aaa.impl.SimplePermission.Builder
 
name - Variable in class org.osgl.aaa.impl.SimpleRole.Builder
 
NAME_FETCHER - Static variable in class org.osgl.aaa.AAAObject.F
 
nameFetcher() - Static method in class org.osgl.aaa.AAAObject.F
 
nameMatcher(String) - Static method in class org.osgl.aaa.AAAObject.F
 
nameVisitor(Lang.Function<String, ?>) - Static method in class org.osgl.aaa.AAAObject.F
 
NoAccessException - Exception in org.osgl.aaa
Deprecated.
NoAccessException() - Constructor for exception org.osgl.aaa.NoAccessException
Deprecated.
 
NoAccessException(Throwable) - Constructor for exception org.osgl.aaa.NoAccessException
Deprecated.
 
NoAccessException(String) - Constructor for exception org.osgl.aaa.NoAccessException
Deprecated.
 
NoAccessException(String, Throwable) - Constructor for exception org.osgl.aaa.NoAccessException
Deprecated.
 
NoAuthenticate - Annotation Type in org.osgl.aaa
Deprecated.
use NoAuthentication instead
NoAuthentication - Annotation Type in org.osgl.aaa
Indicate that the annotated method is not subject to Secure authentication

O

org.osgl.aaa - package org.osgl.aaa
 
org.osgl.aaa.impl - package org.osgl.aaa.impl
 

P

Permission - Interface in org.osgl.aaa
This interface represents a permission, such as that used to grant a particular type of access to a resource.
Permission.F - Class in org.osgl.aaa
 
PERMISSION_GETTER - Static variable in class org.osgl.aaa.Principal.F
 
PERMISSION_GETTER - Static variable in class org.osgl.aaa.Role.F
 
permissions() - Method in interface org.osgl.aaa.DynamicPermissionCheckHelper
Returns a list of permissions that this dynamic permission check helper could be used to check against the dynamic association.
permissionVisitor(Lang.Visitor<Permission>) - Static method in class org.osgl.aaa.Principal.F
 
permissionVisitor(Lang.Visitor<Permission>) - Static method in class org.osgl.aaa.Role.F
 
perms - Variable in class org.osgl.aaa.impl.SimpleRole.Builder
 
Principal - Interface in org.osgl.aaa
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.
Principal.F - Class in org.osgl.aaa
 
Privilege - Interface in org.osgl.aaa
Unlike permission which implements a fine grained authorization scheme, Privilege implements a coarse grained authorization.
Privilege.F - Class in org.osgl.aaa
 
propertyKeys() - Method in interface org.osgl.aaa.AAAObject
Return a set contains the property keys
propertyKeys() - Method in class org.osgl.aaa.impl.AAAObjectBase
 

R

registerDynamicPermissionChecker(DynamicPermissionCheckHelper<T>, Class<T>) - Static method in enum org.osgl.aaa.AAA
 
remove(AAAObject) - Method in interface org.osgl.aaa.AAAPersistentService
Remove the AAAObject from persistent storage
removeAll(Class<T>) - Method in interface org.osgl.aaa.AAAPersistentService
Remove all AAAObject from persistent store
removeAllImplied() - Method in class org.osgl.aaa.impl.SimplePermission.Builder
 
removeImplied(String) - Method in class org.osgl.aaa.impl.SimplePermission.Builder
 
RequireAuditing - Annotation Type in org.osgl.aaa
Indicates that a method invocation shall be logged
RequireAuthenticate - Annotation Type in org.osgl.aaa
Deprecated.
RequireAuthentication - Annotation Type in org.osgl.aaa
Indicate that the annotated method or class is needs to be authenticated
requirePermission(Permission) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(String) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Enum<?>) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Permission, boolean) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(String, boolean) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Enum<?>, boolean) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Permission, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(String, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Enum<?>, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Permission, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(String, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Enum<?>, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Object, Permission) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Object, String) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Object, Enum<?>) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Object, Permission, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Object, String, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Object, Enum<?>, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Object, Permission, boolean) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Object, String, boolean) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Object, Enum<?>, boolean) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Object, Permission, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Object, String, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Object, Enum<?>, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Object, Principal, Permission, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Object, Principal, String, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Object, Principal, Enum<?>, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by permission.
requirePermission(Permission) - Method in class org.osgl.aaa.AAAContext
 
requirePermission(String) - Method in class org.osgl.aaa.AAAContext
 
requirePermission(Enum<?>) - Method in class org.osgl.aaa.AAAContext
 
requirePermission(Permission, boolean) - Method in class org.osgl.aaa.AAAContext
 
requirePermission(String, boolean) - Method in class org.osgl.aaa.AAAContext
 
requirePermission(Enum<?>, boolean) - Method in class org.osgl.aaa.AAAContext
 
requirePermission(Object, Permission) - Method in class org.osgl.aaa.AAAContext
 
requirePermission(Object, String) - Method in class org.osgl.aaa.AAAContext
 
requirePermission(Object, Enum<?>) - Method in class org.osgl.aaa.AAAContext
 
requirePermission(Object, Permission, boolean) - Method in class org.osgl.aaa.AAAContext
 
requirePermission(Object, String, boolean) - Method in class org.osgl.aaa.AAAContext
 
requirePermission(Object, Enum<?>, boolean) - Method in class org.osgl.aaa.AAAContext
 
requirePermission(Principal, Permission) - Method in class org.osgl.aaa.AAAContext
 
requirePermission(Principal, String) - Method in class org.osgl.aaa.AAAContext
 
requirePermission(Principal, Enum<?>) - Method in class org.osgl.aaa.AAAContext
 
requirePermission(Principal, Object, String) - Method in class org.osgl.aaa.AAAContext
 
requirePermission(Principal, Object, Enum<?>) - Method in class org.osgl.aaa.AAAContext
 
RequirePermission - Annotation Type in org.osgl.aaa
 
requirePermissionOrPrivilege(Permission, Privilege) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(String, String) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(String, int) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Enum<?>, Enum<?>) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Enum<?>, int) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Permission, Privilege, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(String, String, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(String, int, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Enum<?>, Enum<?>, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Enum<?>, int, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Permission, Privilege, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(String, String, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(String, int, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Enum<?>, Enum<?>, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Enum<?>, int, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, Permission, Privilege) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, String, String) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, String, int) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, Enum<?>, Enum<?>) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, Enum<?>, int) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, Permission, Privilege, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, String, String, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, String, int, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, Enum<?>, Enum<?>, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, Enum<?>, int, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, Permission, Privilege, boolean) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, String, String, boolean) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, String, int, boolean) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, Enum<?>, Enum<?>, boolean) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, Enum<?>, int, boolean) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, Permission, Privilege, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, String, String, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, String, int, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, Enum<?>, Enum<?>, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, Enum<?>, int, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, Principal, Permission, Privilege, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, Principal, String, String, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, Principal, String, int, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, Principal, Enum<?>, Enum<?>, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Object, Principal, Enum<?>, int, AAAContext) - Static method in enum org.osgl.aaa.AAA
 
requirePermissionOrPrivilege(Permission, Privilege) - Method in class org.osgl.aaa.AAAContext
 
requirePermissionOrPrivilege(String, String) - Method in class org.osgl.aaa.AAAContext
 
requirePermissionOrPrivilege(String, int) - Method in class org.osgl.aaa.AAAContext
 
requirePermissionOrPrivilege(Enum<?>, Enum<?>) - Method in class org.osgl.aaa.AAAContext
 
requirePermissionOrPrivilege(Enum<?>, int) - Method in class org.osgl.aaa.AAAContext
 
requirePermissionOrPrivilege(Permission, Privilege, boolean) - Method in class org.osgl.aaa.AAAContext
 
requirePermissionOrPrivilege(String, String, boolean) - Method in class org.osgl.aaa.AAAContext
 
requirePermissionOrPrivilege(String, int, boolean) - Method in class org.osgl.aaa.AAAContext
 
requirePermissionOrPrivilege(Enum<?>, Enum<?>, boolean) - Method in class org.osgl.aaa.AAAContext
 
requirePermissionOrPrivilege(Enum<?>, int, boolean) - Method in class org.osgl.aaa.AAAContext
 
requirePermissionOrPrivilege(Object, Permission, Privilege) - Method in class org.osgl.aaa.AAAContext
 
requirePermissionOrPrivilege(Object, String, String) - Method in class org.osgl.aaa.AAAContext
 
requirePermissionOrPrivilege(Object, String, int) - Method in class org.osgl.aaa.AAAContext
 
requirePermissionOrPrivilege(Object, Enum<?>, Enum<?>) - Method in class org.osgl.aaa.AAAContext
 
requirePermissionOrPrivilege(Object, Enum<?>, int) - Method in class org.osgl.aaa.AAAContext
 
requirePermissionOrPrivilege(Object, Permission, Privilege, boolean) - Method in class org.osgl.aaa.AAAContext
 
requirePermissionOrPrivilege(Object, String, String, boolean) - Method in class org.osgl.aaa.AAAContext
 
requirePermissionOrPrivilege(Object, String, int, boolean) - Method in class org.osgl.aaa.AAAContext
 
requirePermissionOrPrivilege(Object, Enum<?>, Enum<?>, boolean) - Method in class org.osgl.aaa.AAAContext
 
requirePermissionOrPrivilege(Object, Enum<?>, int, boolean) - Method in class org.osgl.aaa.AAAContext
 
requirePrivilege(Privilege) - Static method in enum org.osgl.aaa.AAA
Authorize by privilege
requirePrivilege(Enum<?>) - Static method in enum org.osgl.aaa.AAA
Authorize by privilege
requirePrivilege(String) - Static method in enum org.osgl.aaa.AAA
Authorize by privilege
requirePrivilege(int) - Static method in enum org.osgl.aaa.AAA
Authorize by privilege
requirePrivilege(Privilege, boolean) - Static method in enum org.osgl.aaa.AAA
Authorize by privilege
requirePrivilege(String, boolean) - Static method in enum org.osgl.aaa.AAA
Authorize by privilege
requirePrivilege(Enum<?>, boolean) - Static method in enum org.osgl.aaa.AAA
Authorize by privilege
requirePrivilege(int, boolean) - Static method in enum org.osgl.aaa.AAA
Authorize by privilege
requirePrivilege(Privilege, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by privilege
requirePrivilege(String, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by privilege
requirePrivilege(Enum<?>, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by privilege
requirePrivilege(int, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by privilege
requirePrivilege(Privilege, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by privilege
requirePrivilege(String, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by privilege
requirePrivilege(Enum<?>, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by privilege
requirePrivilege(int, boolean, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by privilege
requirePrivilege(Principal, Privilege, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by privilege
requirePrivilege(Principal, String, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by privilege
requirePrivilege(Principal, Enum<?>, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by privilege
requirePrivilege(Principal, int, AAAContext) - Static method in enum org.osgl.aaa.AAA
Authorize by privilege
requirePrivilege(Privilege) - Method in class org.osgl.aaa.AAAContext
 
requirePrivilege(String) - Method in class org.osgl.aaa.AAAContext
 
requirePrivilege(Enum<?>) - Method in class org.osgl.aaa.AAAContext
 
requirePrivilege(int) - Method in class org.osgl.aaa.AAAContext
 
requirePrivilege(Principal, Privilege) - Method in class org.osgl.aaa.AAAContext
 
requirePrivilege(Principal, String) - Method in class org.osgl.aaa.AAAContext
 
requirePrivilege(Principal, Enum<?>) - Method in class org.osgl.aaa.AAAContext
 
requirePrivilege(Principal, int) - Method in class org.osgl.aaa.AAAContext
 
requirePrivilege(Privilege, boolean) - Method in class org.osgl.aaa.AAAContext
 
requirePrivilege(String, boolean) - Method in class org.osgl.aaa.AAAContext
 
requirePrivilege(Enum<?>, boolean) - Method in class org.osgl.aaa.AAAContext
 
requirePrivilege(int, boolean) - Method in class org.osgl.aaa.AAAContext
 
RequirePrivilege - Annotation Type in org.osgl.aaa
 
revokeAllPermissions() - Method in class org.osgl.aaa.impl.SimplePrincipal.Builder
 
revokeAllPermissions() - Method in class org.osgl.aaa.impl.SimpleRole.Builder
 
revokeAllRoles() - Method in class org.osgl.aaa.impl.SimplePrincipal.Builder
 
revokePermission(String) - Method in class org.osgl.aaa.impl.SimplePrincipal.Builder
 
revokePermission(String) - Method in class org.osgl.aaa.impl.SimpleRole.Builder
 
revokePrivilege() - Method in class org.osgl.aaa.impl.SimplePrincipal.Builder
 
revokeRole(String) - Method in class org.osgl.aaa.impl.SimplePrincipal.Builder
 
Role - Interface in org.osgl.aaa
Role can be used to organize a list of permissions into a group.
Role.F - Class in org.osgl.aaa
 
ROLE_GETTER - Static variable in class org.osgl.aaa.Principal.F
 
roleVisitor(Lang.Visitor<Role>) - Static method in class org.osgl.aaa.Principal.F
 

S

save(AAAObject) - Method in interface org.osgl.aaa.AAAPersistentService
Save the AAAObject to persistent storage
setContext(AAAContext) - Static method in enum org.osgl.aaa.AAA
Set AAAContext to thread local
setCurrentPrincipal(Principal) - Method in class org.osgl.aaa.AAAContext
Set the current principal to a thread local variable.
setCurrentPrincipal(Principal) - Method in class org.osgl.aaa.impl.AAAContextBase
 
setDefaultContext(AAAContext) - Static method in enum org.osgl.aaa.AAA
 
setGuardedTarget(Object) - Method in class org.osgl.aaa.AAAContext
Store a guarded target object to a thread local variable.
setGuardedTarget(Object) - Method in class org.osgl.aaa.impl.AAAContextBase
 
setProperty(String, String) - Method in interface org.osgl.aaa.AAAObject
Set property value to the AAAObject.
setProperty(String, String) - Method in class org.osgl.aaa.impl.AAAObjectBase
 
SimpleAAAContext - Class in org.osgl.aaa.impl
Created by luog on 13/01/14.
SimpleAAAContext(AuthenticationService, AuthorizationService, AAAPersistentService, Auditor, int, Principal, boolean) - Constructor for class org.osgl.aaa.impl.SimpleAAAContext
 
SimpleAAAContext(AuthenticationService, AuthorizationService, AAAPersistentService) - Constructor for class org.osgl.aaa.impl.SimpleAAAContext
 
SimpleAAAContext(AuthenticationService, AuthorizationService, AAAPersistentService, Auditor) - Constructor for class org.osgl.aaa.impl.SimpleAAAContext
 
SimpleAuthorizationService - Class in org.osgl.aaa.impl
A simple authorization service implementation
SimpleAuthorizationService() - Constructor for class org.osgl.aaa.impl.SimpleAuthorizationService
 
SimplePermission - Class in org.osgl.aaa.impl
An immutable permission implementation
SimplePermission() - Constructor for class org.osgl.aaa.impl.SimplePermission
 
SimplePermission(String, boolean) - Constructor for class org.osgl.aaa.impl.SimplePermission
 
SimplePermission(String, Collection<? extends Permission>) - Constructor for class org.osgl.aaa.impl.SimplePermission
 
SimplePermission(String, Collection<? extends Permission>, boolean) - Constructor for class org.osgl.aaa.impl.SimplePermission
 
SimplePermission.Builder - Class in org.osgl.aaa.impl
 
SimplePrincipal - Class in org.osgl.aaa.impl
A simple and immutable Principal implementation.
SimplePrincipal() - Constructor for class org.osgl.aaa.impl.SimplePrincipal
This constructor is designed to be used by tools like ORM to deserialize the object from a certain persistent storage
SimplePrincipal(String, Privilege, Collection<? extends Role>, Collection<? extends Permission>) - Constructor for class org.osgl.aaa.impl.SimplePrincipal
Construct a principal by name, privilege, list of roles and list of permissions
SimplePrincipal.Builder - Class in org.osgl.aaa.impl
The Builder can be used to build up a simple principal
SimplePrivilege - Class in org.osgl.aaa.impl
A simple and immutable Privilege implementation
SimplePrivilege() - Constructor for class org.osgl.aaa.impl.SimplePrivilege
 
SimplePrivilege(String, int) - Constructor for class org.osgl.aaa.impl.SimplePrivilege
 
SimpleRole - Class in org.osgl.aaa.impl
A simple and immutable Privilege implementation.
SimpleRole() - Constructor for class org.osgl.aaa.impl.SimpleRole
This constructor is designed to be used by tools like ORM to deserialize the object from a certain persistent storage
SimpleRole(String, List<? extends Permission>) - Constructor for class org.osgl.aaa.impl.SimpleRole
Construct a role by name and given list of permissions
SimpleRole.Builder - Class in org.osgl.aaa.impl
 
SUPER_USER - Static variable in enum org.osgl.aaa.AAA
The recommended super user privilege level
SYSTEM - Static variable in enum org.osgl.aaa.AAA
The recommended name of system principal

T

toPermission() - Method in class org.osgl.aaa.impl.SimplePermission.Builder
 
toPrincipal() - Method in class org.osgl.aaa.impl.SimplePrincipal.Builder
 
toRole() - Method in class org.osgl.aaa.impl.SimpleRole.Builder
 
toString() - Method in interface org.osgl.aaa.AAAObject
Returns a string representation of this principal.
toString() - Method in class org.osgl.aaa.impl.AAAObjectBase
The method simple returns the name of the object.

U

unsetProperty(String) - Method in interface org.osgl.aaa.AAAObject
Remove specified property from the AAAObject
unsetProperty(String) - Method in class org.osgl.aaa.impl.AAAObjectBase
 

V

valueOf(String) - Static method in enum org.osgl.aaa.AAA
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.osgl.aaa.AAA
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in enum org.osgl.aaa.AAA
 
A B C D E F G H I L N O P R S T U V 
Skip navigation links

Copyright © 2017–2020 OSGL (Open Source General Library). All rights reserved.