Announcement Announcement Module
Collapse
No announcement yet.
Replace authorize tag with a database Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Replace authorize tag with a database

    hello every one ;

    The authorize Tag
    This tag is used to determine whether its contents should be evaluated or not
    for exemple :

    Code:
    <sec:authorize access="hasRole('supervisor')">
    This content will only be visible to users who have
    the "supervisor" authority in their list of <tt>GrantedAuthority</tt>s.
    </sec:authorize>
    i'm asking if i can replace this with a table containing column role and a column containine url or page that the role can see

  • #2
    for exemple i'll replace 'supervisor' with a variable x that i'll get from DB
    it is possible

    Comment

    Working...
    X