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

Ariel Isaac commented on SHIRO-531:
-----------------------------------

That's true, it would really come handy getters and setters for a Custom 
Account class  making this class a little more flexible.

> Add getter and setter for SimpleAuthenticationInfo and 
> SimpleAuthorizationInfo in SimpleAccount
> -----------------------------------------------------------------------------------------------
>
>                 Key: SHIRO-531
>                 URL: https://issues.apache.org/jira/browse/SHIRO-531
>             Project: Shiro
>          Issue Type: Improvement
>          Components: Authentication (log-in), Authorization (access control) 
> , Sample Apps
>    Affects Versions: 1.2.3
>            Reporter: Severin Wünsch
>            Priority: Minor
>              Labels: improvement
>   Original Estimate: 2m
>  Remaining Estimate: 2m
>
> If you want to implement your own Account class which is extending form 
> SimpleAccount you have no access to SimpleAuthenticationInfo and 
> SimpleAuthorizationInfo. As these are the two classes used in nearly every 
> function you have to completely copy the class to set your own class for 
> authzInfo which in my case would be also extending SimpleAuthorizationInfo. 
> An alternative would be to make these variables protected and not private.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to