Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-5541

Resource based auth doesn't work in sub realm

    Details

    • Support Ticket IDs:

      Description

      You will need to disable XUI because of OPENAM-3135

      To reproduce:

      When accessing the protected resource, you will get "An internal authentication error has occurred." error.

      amLoginViewBean:02/13/2015 08:45:17:705 AM NZDT: Thread[http-18080-1,5,main]
      getLoginDisplay exception:
      java.lang.NullPointerException
              at com.sun.identity.entitlement.ReferralPrivilege.evaluate(ReferralPrivilege.java:489)
              at com.sun.identity.entitlement.PrivilegeEvaluator$PrivilegeTask.run(PrivilegeEvaluator.java:423)
              at com.sun.identity.entitlement.PrivilegeEvaluator.evaluate(PrivilegeEvaluator.java:335)
              at com.sun.identity.entitlement.PrivilegeEvaluator.evaluate(PrivilegeEvaluator.java:248)
              at com.sun.identity.entitlement.Evaluator.evaluate(Evaluator.java:216)
              at com.sun.identity.policy.PolicyEvaluator.getPolicyDecisionE(PolicyEvaluator.java:872)
              at com.sun.identity.policy.PolicyEvaluator.getPolicyDecision(PolicyEvaluator.java:819)
              at com.sun.identity.policy.PolicyEvaluator.getPolicyDecisionIgnoreSubjects(PolicyEvaluator.java:2444)
              at com.sun.identity.policy.ProxyPolicyEvaluator.getPolicyDecisionIgnoreSubjects(ProxyPolicyEvaluator.java:257)
              at com.sun.identity.policy.util.PolicyDecisionUtils.getActionDecision(PolicyDecisionUtils.java:135)
              at com.sun.identity.policy.util.PolicyDecisionUtils.doResourceIPEnvAuth(PolicyDecisionUtils.java:122)
              at com.sun.identity.authentication.server.AuthContextLocal.login(AuthContextLocal.java:479)
              at com.sun.identity.authentication.server.AuthContextLocal.login(AuthContextLocal.java:419)
              at com.sun.identity.authentication.UI.LoginViewBean.getLoginDisplay(LoginViewBean.java:911)
              at com.sun.identity.authentication.UI.LoginViewBean.processLogin(LoginViewBean.java:862)
              at com.sun.identity.authentication.UI.LoginViewBean.forwardTo(LoginViewBean.java:519)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sachiko Sachiko Wallace
                Reporter:
                sachiko Sachiko Wallace
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: