| Package | Description |
|---|---|
| org.wicketstuff.security.hive | |
| org.wicketstuff.security.hive.authentication | |
| org.wicketstuff.security.hive.authorization | |
| org.wicketstuff.security.hive.config |
| Modifier and Type | Method and Description |
|---|---|
Set<Principal> |
Hive.getPrincipals(Permission permission)
Returns a set of
Principals, each containing this permission. |
Set<Principal> |
BasicHive.getPrincipals(Permission permission) |
| Modifier and Type | Method and Description |
|---|---|
void |
BasicHive.addPermission(Principal principal,
Permission permission)
Adds a new permission to a principal.
|
void |
BasicHive.addPrincipal(Principal principal,
Collection<Permission> permissions)
Adds a new Principal to the hive.
|
boolean |
Hive.containsPrincipal(Principal principal)
Checks if this hive contains an exact match for this principal.
|
boolean |
BasicHive.containsPrincipal(Principal principal) |
Set<Permission> |
Hive.getPermissions(Principal principal)
Returns a set of
Permissions, contained within the principal. |
Set<Permission> |
BasicHive.getPermissions(Principal principal) |
| Modifier and Type | Method and Description |
|---|---|
Set<Principal> |
Subject.getPrincipals()
A readonly view of the principals.
|
Set<Principal> |
BaseSubject.getPrincipals() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
BaseSubject.addPrincipal(Principal principal)
Adds a new principal to this subject.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EverybodyPrincipal
Principal used for permissions granted to everyone, regardless of an authenticated subject.
|
class |
SimplePrincipal
A very simple principal.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
PolicyFileHiveFactory.notifyOfPrincipal(int lineNr,
Principal principal)
Notifies of a new Principal read in the policy file.
|
protected void |
PolicyFileHiveFactory.notifyPermission(int lineNr,
Principal principal,
Permission permission)
Notifies when a permission is added to a principal.
|
protected void |
PolicyFileHiveFactory.skipEmptyPrincipal(int lineNr,
Principal principal)
Notifies when a principal is skipped because there are no permissions attached.
|
protected void |
PolicyFileHiveFactory.skipIllegalPermission(int lineNr,
Principal principal,
Permission permission)
Notifies of permissions located outside the { and }; block statements but after a valid
principal was found.
|
protected void |
PolicyFileHiveFactory.skipIllegalPrincipal(int lineNr,
Principal principal,
Set<Permission> permissions)
Notifies when a
Principal begins at an illegal place in the file. |
protected void |
PolicyFileHiveFactory.skipPermission(int lineNr,
Principal principal,
Permission permission)
Notifies of duplicate permissions for a principal.
|
protected void |
PolicyFileHiveFactory.warnUnclosedPrincipalBlock(Principal principal,
int lineNr)
Warning when the last principal of a file is not properly closed.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
PolicyFileHiveFactory.skipPrincipal(int lineNr,
Class<? extends Principal> principalClass)
Notifies when the principal does not have an accessible constructor for a single
String argument. |
protected void |
PolicyFileHiveFactory.skipPrincipal(int lineNr,
Class<? extends Principal> principalClass,
Exception e)
Notifies when a new instance of the principl could not be created.
|
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.