• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Do delcarative authorization improves maintainability

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Declarative authorization improves manageability and it is flexible in adding new role in the application. So we can say that delcarative authorization improves flexibility.

Can I say that declarative authorization improves maintainability ? I feel maintainability is better for declarative authorization than programmatic authorization as addition or removal of new role is easier in declarative authorization and have less chances of flaws while adding new role.

Please suggest
Praveen
 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i think yes: the declarative authorization improves maintainability, because there is less code and all the work is done by tested application server.
the programmatic security can become difficult to maintain because of duplicated code and nonuniform implementation styles.

However declarative security may not be sufficient is some situation!
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic