| Package | Description | 
|---|---|
| org.wicketstuff.security.hive | |
| org.wicketstuff.security.hive.authentication | |
| org.wicketstuff.security.hive.authorization | |
| org.wicketstuff.security.swarm.strategies | 
| 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 | BasicHive. hasPermission(Subject subject,
             Permission permission) | 
| 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. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | WicketSubjectIn addition to Subjects, WicketSubjects play an important part in multi-login scenario's as they
 define what they authenticate. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BaseSubjectDefault implementation of a Subject. | 
| class  | DefaultSubjectDefault implementation of a Subject.Targeted for wicket applications. | 
| Modifier and Type | Method and Description | 
|---|---|
| Subject | LoginContainer. getSubject()returns an immutable Subject which Contains all the principals of the subjects in the
 loginContexts. | 
| 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 | Principal. implies(Subject subject)Even though a subject does not explicitly hold a principal, it may still be implied by the
 subject. | 
| boolean | SimplePrincipal. implies(Subject subject)By default this principal does not imply any additional subjects. | 
| Modifier and Type | Method and Description | 
|---|---|
| Subject | AbstractSwarmStrategy. getSubject()The currently logged in subject, note that at any time there is at most 1 subject logged in. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract boolean | AbstractSwarmStrategy. hasPermission(Permission permission,
             Subject subject) | 
| boolean | SwarmStrategy. hasPermission(Permission permission,
             Subject subject)Performs the actual permission check at the  Hive. | 
| protected void | SwarmStrategy. logPermissionDenied(Permission permission,
                   Subject subject)Logs (if logging is enabled) which permission was denied for a subject. | 
Copyright © 2015. All rights reserved.