public class SimpleAAAContext extends AAAContextBase
Created by luog on 13/01/14.
| Constructor and Description |
|---|
SimpleAAAContext(AuthenticationService authenticationService,
AuthorizationService authorizationService,
AAAPersistentService aaaPersistentService) |
SimpleAAAContext(AuthenticationService authenticationService,
AuthorizationService authorizationService,
AAAPersistentService aaaPersistentService,
Auditor auditor) |
SimpleAAAContext(AuthenticationService authenticationService,
AuthorizationService authorizationService,
AAAPersistentService aaaPersistentService,
Auditor auditorImpl,
int superUserLevel,
Principal system,
boolean allowSystem) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowSuperUser() |
Auditor |
getAuditor()
Returns the
Auditor implementation |
AuthenticationService |
getAuthenticationService()
Returns the
AuthenticationService implementation |
AuthorizationService |
getAuthorizationService()
Returns the
AuthorizationService implementation |
AAAPersistentService |
getPersistentService()
Returns the
AAAPersistentService implementation |
int |
getSuperUserLevel() |
Principal |
getSystemPrincipal()
Returns the system principal which is used by system to set up security context for background tasks
|
boolean |
isSuperUser(Principal principal) |
getCurrentPrincipal, getGuardedTarget, setCurrentPrincipal, setGuardedTargetallPermissionNames, allPermissions, allPrivilegeNames, allPrivileges, allRoleNames, allRoles, findPrivilege, getAnonymousPrincipal, getPrincipal, hasPermission, hasPermission, hasPermission, hasPermission, hasPermission, hasPermission, hasPermission, hasPermission, hasPermission, hasPermission, hasPermission, hasPermission, hasPermission, hasPermission, hasPermission, hasPermission, hasPermission, hasPermissionOrPrivilege, hasPermissionOrPrivilege, hasPermissionOrPrivilege, hasPermissionOrPrivilege, hasPermissionOrPrivilege, hasPermissionOrPrivilege, hasPermissionOrPrivilege, hasPermissionOrPrivilege, hasPermissionOrPrivilege, hasPermissionOrPrivilege, hasPermissionOrPrivilege, hasPermissionOrPrivilege, hasPermissionOrPrivilege, hasPermissionOrPrivilege, hasPermissionOrPrivilege, hasPermissionOrPrivilege, hasPermissionOrPrivilege, hasPermissionOrPrivilege, hasPermissionOrPrivilege, hasPermissionOrPrivilege, hasPrivilege, hasPrivilege, hasPrivilege, hasPrivilege, hasPrivilege, hasPrivilege, hasPrivilege, hasPrivilege, hasPrivilege, hasPrivilege, hasPrivilege, hasPrivilege, requirePermission, requirePermission, requirePermission, requirePermission, requirePermission, requirePermission, requirePermission, requirePermission, requirePermission, requirePermission, requirePermission, requirePermission, requirePermission, requirePermission, requirePermission, requirePermission, requirePermission, requirePermissionOrPrivilege, requirePermissionOrPrivilege, requirePermissionOrPrivilege, requirePermissionOrPrivilege, requirePermissionOrPrivilege, requirePermissionOrPrivilege, requirePermissionOrPrivilege, requirePermissionOrPrivilege, requirePermissionOrPrivilege, requirePermissionOrPrivilege, requirePermissionOrPrivilege, requirePermissionOrPrivilege, requirePermissionOrPrivilege, requirePermissionOrPrivilege, requirePermissionOrPrivilege, requirePermissionOrPrivilege, requirePermissionOrPrivilege, requirePermissionOrPrivilege, requirePermissionOrPrivilege, requirePermissionOrPrivilege, requirePrivilege, requirePrivilege, requirePrivilege, requirePrivilege, requirePrivilege, requirePrivilege, requirePrivilege, requirePrivilege, requirePrivilege, requirePrivilege, requirePrivilege, requirePrivilegepublic SimpleAAAContext(AuthenticationService authenticationService, AuthorizationService authorizationService, AAAPersistentService aaaPersistentService, Auditor auditorImpl, int superUserLevel, Principal system, boolean allowSystem)
public SimpleAAAContext(AuthenticationService authenticationService, AuthorizationService authorizationService, AAAPersistentService aaaPersistentService)
public SimpleAAAContext(AuthenticationService authenticationService, AuthorizationService authorizationService, AAAPersistentService aaaPersistentService, Auditor auditor)
public AuthenticationService getAuthenticationService()
AAAContextReturns the AuthenticationService implementation
getAuthenticationService in class AAAContextpublic AuthorizationService getAuthorizationService()
AAAContextReturns the AuthorizationService implementation
getAuthorizationService in class AAAContextpublic AAAPersistentService getPersistentService()
AAAContextReturns the AAAPersistentService implementation
getPersistentService in class AAAContextpublic Auditor getAuditor()
AAAContextReturns the Auditor implementation
getAuditor in class AAAContextpublic boolean allowSuperUser()
allowSuperUser in class AAAContextpublic boolean isSuperUser(Principal principal)
isSuperUser in class AAAContextpublic Principal getSystemPrincipal()
AAAContextReturns the system principal which is used by system to set up security context for background tasks
getSystemPrincipal in class AAAContextpublic int getSuperUserLevel()
getSuperUserLevel in class AAAContextCopyright © 2017–2020 OSGL (Open Source General Library). All rights reserved.