[
https://issues.apache.org/jira/browse/AURORA-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15180336#comment-15180336
]
Zameer Manji commented on AURORA-1628:
--------------------------------------
{noformat}
commit c624414b581568d6958c10628fc2c5ea9e8f14b7
Author: Zameer Manji <[email protected]>
Date: Fri Mar 4 13:36:10 2016 -0500
Show principal in auth failure messaage.
Bugs closed: AURORA-1628
Reviewed at https://reviews.apache.org/r/44354/
.../scheduler/http/api/security/ShiroAuthorizingParamInterceptor.java | 2 +-
.../http/api/security/ShiroAuthorizingParamInterceptorTest.java | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
{noformat}
> ShiroAuthorizingParamInterceptor failure messages are not descriptive
> ---------------------------------------------------------------------
>
> Key: AURORA-1628
> URL: https://issues.apache.org/jira/browse/AURORA-1628
> Project: Aurora
> Issue Type: Bug
> Reporter: Zameer Manji
> Assignee: Zameer Manji
>
> Sometimes users see messages like this when they are not authorized:
> {noformat}
> Error scheduling cron job zone/role/env/job:
> Subject
> org.apache.shiro.web.subject.support.WebDelegatingSubject@5ff88886 is not
> permitted to JobScopedRpcPermission{rpc=scheduleCronJob,
> permittedJob=IJobKey{role=role, environment=env, name=job}}.
> {noformat}
> We need to print out the subject name to make this error message more clear.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)