You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "John Vines (JIRA)" <ji...@apache.org> on 2013/01/10 19:42:13 UTC

[jira] [Updated] (SHIRO-407) AuthenticatingRealm supports() should utilize a flag to enable authentication

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

John Vines updated SHIRO-407:
-----------------------------

    Attachment: SHIRO-407.patch

Attached is an implementation patch. Patch is good for both 1.2.x branch as well as trunk.
                
> AuthenticatingRealm supports() should utilize a flag to enable authentication
> -----------------------------------------------------------------------------
>
>                 Key: SHIRO-407
>                 URL: https://issues.apache.org/jira/browse/SHIRO-407
>             Project: Shiro
>          Issue Type: Improvement
>          Components: Authentication (log-in)
>            Reporter: John Vines
>         Attachments: SHIRO-407.patch
>
>
> AuthorizingRealm is a subclass of Authentication realm. However, there are circumstances where a realm wants to be used for authorization but not authentication. A flag, which can be set in the ini, should be added to disable authentication for things which are authorizing. This flag can then be utilized in the supports() method to handle it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira