shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Demers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SHIRO-407) AuthenticatingRealm supports() should utilize a flag to enable authentication
Date Thu, 23 Jun 2016 22:52:16 GMT

    [ https://issues.apache.org/jira/browse/SHIRO-407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15347370#comment-15347370
] 

Brian Demers commented on SHIRO-407:
------------------------------------

Patch looks good, we just need to create a test before merging.

> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message