Package | Description |
---|---|
sirius.web.security |
Modifier and Type | Field and Description |
---|---|
static ScopeInfo |
ScopeInfo.DEFAULT_SCOPE
If no distinct scope is recognized by the current ScopeDetector or if no detector is installed,
this scope is used.
|
protected ScopeInfo |
GenericUserManager.scope |
Modifier and Type | Method and Description |
---|---|
ScopeInfo |
ScopeDetector.detectScope(WebContext request)
Detects the scope for the given request.
|
static ScopeInfo |
UserContext.getCurrentScope()
Boilerplate method to quickly access the current scope.
|
ScopeInfo |
UserContext.getScope()
Returns the currently active scope.
|
Modifier and Type | Method and Description |
---|---|
UserManager |
PublicUserManager.Factory.createManager(ScopeInfo scope,
sirius.kernel.settings.Extension config) |
UserManager |
UserManagerFactory.createManager(ScopeInfo scope,
sirius.kernel.settings.Extension config)
Creates a new user manager for the given scope and config settings (the block in
security.scope.
|
UserInfo |
UserContext.getUserForScope(ScopeInfo scope)
Returns the used which would be the current user if the space with the given id would be active.
|
H |
HelperFactory.make(ScopeInfo scope)
Creates a new helper for the given scope.
|
void |
UserContext.setCurrentScope(ScopeInfo scope)
Installs the given scope as current scope.
|
Constructor and Description |
---|
GenericUserManager(ScopeInfo scope,
sirius.kernel.settings.Extension config) |
PublicUserManager(ScopeInfo scope,
sirius.kernel.settings.Extension config) |
Constructor and Description |
---|
ScopeInfo(String scopeId,
String scopeType,
String scopeName,
String lang,
Function<ScopeInfo,com.typesafe.config.Config> configSupplier,
Function<ScopeInfo,Object> scopeSupplier)
Creates a new ScopeInfo with the given parameters.
|
ScopeInfo(String scopeId,
String scopeType,
String scopeName,
String lang,
Function<ScopeInfo,com.typesafe.config.Config> configSupplier,
Function<ScopeInfo,Object> scopeSupplier)
Creates a new ScopeInfo with the given parameters.
|
Copyright © 2018. All rights reserved.