Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Do delcarative authorization improves maintainability

 
Srivastava Praveen
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • 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
 
giuseppe fanuzzi
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • 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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic