Uses of Class
org.apache.shiro.subject.Subject.Builder
-
Packages that use Subject.Builder Package Description org.apache.shiro.subject Components supporting theSubjectinterface, the most important concept in Shiro's API. -
-
Uses of Subject.Builder in org.apache.shiro.subject
Methods in org.apache.shiro.subject that return Subject.Builder Modifier and Type Method Description Subject.BuilderSubject.Builder. authenticated(boolean authenticated)Ensures theSubjectbeing built will be consideredauthenticated.Subject.BuilderSubject.Builder. contextAttribute(String attributeKey, Object attributeValue)Allows custom attributes to be added to the underlying contextMapused to construct theSubjectinstance.Subject.BuilderSubject.Builder. host(String host)Ensures theSubjectbeing built will reflect the specified host name or IP as its originating location.Subject.BuilderSubject.Builder. principals(PrincipalCollection principals)Ensures theSubjectbeing built will reflect the specified principals (aka identity).Subject.BuilderSubject.Builder. session(Session session)Ensures theSubjectbeing built will use the specifiedSessioninstance.Subject.BuilderSubject.Builder. sessionCreationEnabled(boolean enabled)Configures whether or not the created Subject instance can create a newSessionif one does not already exist.Subject.BuilderSubject.Builder. sessionId(Serializable sessionId)
-