You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Les Hazlewood (JIRA)" <ji...@apache.org> on 2009/09/03 21:30:57 UTC

[jira] Resolved: (SHIRO-30) Subject acquisition based on method argument

     [ https://issues.apache.org/jira/browse/SHIRO-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Les Hazlewood resolved SHIRO-30.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0

The org.apache.shiro.subject.Subject.Builder and org.apache.shiro.web.subject.WebSubject.Builder now allow arbitrary construction of Subject instances.  If not sufficient enough, the org.apache.shiro.mgt.SecurityManager#createSubject(Map context) method is available as well.

> Subject acquisition based on method argument
> --------------------------------------------
>
>                 Key: SHIRO-30
>                 URL: https://issues.apache.org/jira/browse/SHIRO-30
>             Project: Shiro
>          Issue Type: New Feature
>            Reporter: Les Hazlewood
>             Fix For: 1.0
>
>
> Especially for enterprise applications who federate Subjects and Sessions across applications, it would be nice to acquire/create a Subject instance based on some set of initialization data method argument, most likely a sessionId token that is passed from one application to another.
> For example:
> SecurityUtils.getSubject( Serializable data );
> SecurityManager.getSubject( Serializable data );
> this would most likely be a sessionId for federated sessions (SSO) across applications, e.g.
> SecurityUtils.getSubject( sessionId );
> SecurityManager.getSubject( sessionId );

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.