You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Tanveer Alaie <ta...@gmail.com> on 2023/09/15 05:08:55 UTC

Implementation Of Authorization and Authorization in struts2.5

Could you suggest the best way to implement the Authorization and
Authorization in struts2.5







Warm Regards,

Tanveer Ahmad Alaie,
Computer Associate,
Department of Electronics Communication & Information Technology,
* SKIMS,*
*Soura, Srinagar 190011, J&K (India). Cell: +91-9596044274*

Re: Implementation Of Authorization and Authorization in struts2.5

Posted by Lukasz Lenart <lu...@apache.org>.
pt., 15 wrz 2023 o 07:09 Tanveer Alaie <ta...@gmail.com> napisał(a):
> Could you suggest the best way to implement the Authorization and
> Authorization in struts2.5

This is a wide question and it would be good to be more specific, what
kind of requirements do you have?

In most cases you can use a dedicated interceptor to perform both, yet
Struts doesn't provide any. You can use Apache Shiro as it was showed
in this example [1] or you can use Spring Security as well [2]

[1] https://github.com/apache/struts-examples/tree/master/shiro-basic
[2] https://stackoverflow.com/questions/14333999/how-to-integrate-spring-security-and-struts2


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org