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 2008/12/15 21:21:44 UTC

[jira] Created: (JSEC-37) Assumed Identity, aka 'Run As' support

Assumed Identity, aka 'Run As' support
--------------------------------------

                 Key: JSEC-37
                 URL: https://issues.apache.org/jira/browse/JSEC-37
             Project: JSecurity
          Issue Type: New Feature
          Components: Authentication (log-in), Authorization (access control), Subject
    Affects Versions: 1.0
            Reporter: Les Hazlewood
            Priority: Critical
             Fix For: 1.0


Potential solutions are being discussed here:  http://markmail.org/message/hnex52p2puw2pip5

Please update this issue once we find an agreeable solution.

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


[jira] Updated: (SHIRO-25) Assumed Identity, aka 'Run As' support

Posted by "Manoj Khangaonkar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHIRO-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manoj Khangaonkar updated SHIRO-25:
-----------------------------------

    Attachment: shiro-25.zip

see my previous comment 

runAs implementation based on

http://mail-archives.apache.org/mod_mbox/incubator-shiro-user/200906.mbox/%3c44b57a610906220634w2e88f4fbtf1d755c4215b6c01@mail.gmail.com%3e

> Assumed Identity, aka 'Run As' support
> --------------------------------------
>
>                 Key: SHIRO-25
>                 URL: https://issues.apache.org/jira/browse/SHIRO-25
>             Project: Shiro
>          Issue Type: New Feature
>            Reporter: Les Hazlewood
>            Priority: Critical
>         Attachments: assume-identity-classes.zip, shiro-25.zip
>
>
> Potential solutions are being discussed here:  http://markmail.org/message/hnex52p2puw2pip5
> Please update this issue once we find an agreeable solution.

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


[jira] Commented: (JSEC-37) Assumed Identity, aka 'Run As' support

Posted by "Les Hazlewood (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSEC-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662206#action_12662206 ] 

Les Hazlewood commented on JSEC-37:
-----------------------------------

Also, this thread has been useful:  http://markmail.org/message/nc7mqs5uxainqg7c

> Assumed Identity, aka 'Run As' support
> --------------------------------------
>
>                 Key: JSEC-37
>                 URL: https://issues.apache.org/jira/browse/JSEC-37
>             Project: JSecurity
>          Issue Type: New Feature
>          Components: Authentication (log-in), Authorization (access control), Subject
>    Affects Versions: 1.0
>            Reporter: Les Hazlewood
>            Priority: Critical
>             Fix For: 1.0
>
>
> Potential solutions are being discussed here:  http://markmail.org/message/hnex52p2puw2pip5
> Please update this issue once we find an agreeable solution.

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


[jira] Updated: (JSEC-37) Assumed Identity, aka 'Run As' support

Posted by "Daniel J. Lauk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSEC-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel J. Lauk updated JSEC-37:
-------------------------------

    Attachment: assume-identity-classes.zip

There was also this discussion (and a few more) on the grails-user mailing list:
http://markmail.org/message/t4ntcmewgkdw5ksg

I created the attached classes to get (almost) everything to work.
What doesn't work, is releasing the assumed identity. It seems, just deleting the identity from the session is not enough.

If you plan on using any of it, feel free to rename the classes is any way you like.
Also, please let me know what you think of the (architectural) approach.

> Assumed Identity, aka 'Run As' support
> --------------------------------------
>
>                 Key: JSEC-37
>                 URL: https://issues.apache.org/jira/browse/JSEC-37
>             Project: JSecurity
>          Issue Type: New Feature
>          Components: Authentication (log-in), Authorization (access control), Subject
>    Affects Versions: 1.0
>            Reporter: Les Hazlewood
>            Priority: Critical
>             Fix For: 1.0
>
>         Attachments: assume-identity-classes.zip
>
>
> Potential solutions are being discussed here:  http://markmail.org/message/hnex52p2puw2pip5
> Please update this issue once we find an agreeable solution.

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


[jira] Moved: (KI-21) Assumed Identity, aka 'Run As' support

Posted by "Alan Cabrera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KI-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Cabrera moved JSEC-37 to KI-21:
------------------------------------

        Fix Version/s:     (was: 1.0)
          Component/s:     (was: Subject)
                           (was: Authorization (access control))
                           (was: Authentication (log-in))
    Affects Version/s:     (was: 1.0)
                  Key: KI-21  (was: JSEC-37)
              Project: Ki  (was: JSecurity)

> Assumed Identity, aka 'Run As' support
> --------------------------------------
>
>                 Key: KI-21
>                 URL: https://issues.apache.org/jira/browse/KI-21
>             Project: Ki
>          Issue Type: New Feature
>            Reporter: Les Hazlewood
>            Priority: Critical
>         Attachments: assume-identity-classes.zip
>
>
> Potential solutions are being discussed here:  http://markmail.org/message/hnex52p2puw2pip5
> Please update this issue once we find an agreeable solution.

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


[jira] Commented: (SHIRO-25) Assumed Identity, aka 'Run As' support

Posted by "Manoj Khangaonkar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHIRO-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12732810#action_12732810 ] 

Manoj Khangaonkar commented on SHIRO-25:
----------------------------------------

I am attaching a patch based on the discussion at the link below

http://mail-archives.apache.org/mod_mbox/incubator-shiro-user/200906.mbox/%3c44b57a610906220634w2e88f4fbtf1d755c4215b6c01@mail.gmail.com%3e

The implementation is pretty simple. 

I have modified QuickStart.java to show case how the API works. 

If anyone has comments/suggestions to improve the patch , make it robust or whatever, I would be happy to do that.

Manoj

> Assumed Identity, aka 'Run As' support
> --------------------------------------
>
>                 Key: SHIRO-25
>                 URL: https://issues.apache.org/jira/browse/SHIRO-25
>             Project: Shiro
>          Issue Type: New Feature
>            Reporter: Les Hazlewood
>            Priority: Critical
>         Attachments: assume-identity-classes.zip
>
>
> Potential solutions are being discussed here:  http://markmail.org/message/hnex52p2puw2pip5
> Please update this issue once we find an agreeable solution.

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


[jira] Commented: (SHIRO-25) Assumed Identity, aka 'Run As' support

Posted by "Kalle Korhonen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHIRO-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756246#action_12756246 ] 

Kalle Korhonen commented on SHIRO-25:
-------------------------------------

I would vote for naming the feature as runAs 

> Assumed Identity, aka 'Run As' support
> --------------------------------------
>
>                 Key: SHIRO-25
>                 URL: https://issues.apache.org/jira/browse/SHIRO-25
>             Project: Shiro
>          Issue Type: New Feature
>            Reporter: Les Hazlewood
>            Priority: Critical
>         Attachments: assume-identity-classes.zip, shiro-25.zip
>
>
> Potential solutions are being discussed here:  http://markmail.org/message/hnex52p2puw2pip5
> Please update this issue once we find an agreeable solution.

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