Announcement Announcement Module
Collapse
No announcement yet.
Which Voter Failed Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Which Voter Failed

    Using voters.

    Is there a way to return which voter or voters failed?

    reason I would like to do this, is to return custom failed page to the user.

    Example, maybe they failed because they don't exist in our database.

    Or maybe they failed because they don't exist in Enterprise Database.

    Instead of just saying.. Access denied!!

    Id like to say.. Access denied please verify with Enterprise DBA
    or
    Access Denied please request an account at ...

    depending on which voter failed.

  • #2
    You will probably want to implement a custom AccessDecisionManager if you want to know which voter was accepted for a particular authorization decision.

    Comment

    Working...
    X