Package org.apache.shiro.subject
package org.apache.shiro.subject
Components supporting the
Subject interface, the most important concept in
Shiro's API.
A Subject is the primary component when using Shiro programmatically for single-user
security operations, and it is the handle to any accessible user security data. All single-user
authentication, authorization and session operations are performed via a Subject instance.-
ClassDescriptionException wrapping any potential checked exception thrown when a
Subjectexecutes aCallable.APrincipalCollectionthat allows modification.A collection of all principals associated with a correspondingSubject.EXPERIMENTAL - DO NOT USE YETA simple implementation of theMutablePrincipalCollectioninterface that tracks principals internally by storing them in aLinkedHashMap.Default implementation of thePrincipalMapinterface.ASubjectrepresents state and security operations for a single application user.Builder design pattern implementation for creatingSubjectinstances in a simplified way without requiring knowledge of Shiro's construction techniques.ASubjectContextis a 'bucket' of data presented to aSecurityManagerwhich interprets this data to constructSubjectinstances.