| Package | Description |
|---|---|
| org.wicketstuff.security.hive | |
| org.wicketstuff.security.hive.authentication | |
| org.wicketstuff.security.hive.authorization |
| Modifier and Type | Method and Description |
|---|---|
protected Boolean |
SimpleCachingHive.cacheLookUp(Subject subject,
Permission permission) |
protected Boolean |
BasicHive.cacheLookUp(Subject subject,
Permission permission)
Allows subclasses to retrieve previously cached results and thus speed up the check.
|
protected void |
SimpleCachingHive.cacheResult(Subject subject,
Permission permission,
boolean result) |
protected void |
BasicHive.cacheResult(Subject subject,
Permission permission,
boolean result)
Allows subclasses to cache the result of a check and thus speed up this check the next time.
|
boolean |
Hive.hasPermission(Subject subject,
Permission permission)
Checks if the subject has the exact permission, or if the permission is implied by any of the
subjects principals.
|
boolean |
BasicHive.hasPermission(Subject subject,
Permission permission) |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseSubject
Default implementation of a Subject.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract Subject |
UsernamePasswordContext.getSubject(String username,
String password)
Validates the username and password.
|
abstract Subject |
LoginContext.login()
Perform a login.
|
Subject |
UsernamePasswordContext.login()
The username and password are always null after this method returns.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LoginContext.notifyLogoff(Subject subject)
Callback to take some action after a subject has been logged off.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
EverybodyPrincipal.implies(Subject subject)
Always returns true.
|
boolean |
SimplePrincipal.implies(Subject subject)
By default this principal does not imply any additional subjects.
|
boolean |
Principal.implies(Subject subject)
Even though a subject does not explicitly hold a principal, it may still be implied by the
subject.
|
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.