Case specific wildcard permissions from shiro.ini file?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Case specific wildcard permissions from shiro.ini file?

claude.warren@wipro.com

I see that it is possible to create wildcard permissions that are case specific.


However, I don't see any way to do this from the shiro.ini file.


Is there a way to plug in another WildCardPermissionResolver or perhaps a flag I am missing?


If not I would be willing to implement such.  Perhaps using a flag in the Shiro ini main section to turn on case specific matching for wildcard permissions.


I was thinking about adding a flag to specific wildcard permission text but that sounds like overkill.


Thoughts?

Claude


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

Re: Case specific wildcard permissions from shiro.ini file?

armandoxxx
Would you be kind enough to write your example user story for your case ?

Would be interested to know the context of your idea.

Regards

Armando



--
Sent from: http://shiro-user.582556.n2.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: Case specific wildcard permissions from shiro.ini file?

claude.warren@wipro.com

I have an application wherein the users create objects.  Since the names of those objects are case specific any restrictions on those objects must name them by case.


so [read:object:A] is different from [read:object:a].


Since the Shiro permissions system is pluggable I want to use the simple shiro.ini user/roles/permissions system for testing. 


thus I need a mechanism to allow me to create case specific wildcard permissions from within the shrio.ini file constructs.


Claude


From: armandoxxx <[hidden email]>
Sent: Monday, January 8, 2018 5:58:29 PM
To: [hidden email]
Subject: Re: Case specific wildcard permissions from shiro.ini file?
 
** This mail has been sent from an external source. Treat hyperlinks and attachments in this email with caution**

Would you be kind enough to write your example user story for your case ?

Would be interested to know the context of your idea.

Regards

Armando



--
Sent from: https://clicktime.symantec.com/a/1/CZnRuhlxKXT7HqJoXqB0mFlXEkKBTIVBWfIPdL765GY=?d=ZtRXjJ7ayT16xagopZ81lTAjQgHHvRhAhH5YEBfLFdX4oFsfIGArdGk0Hrxbh-Yq7w1_I7UUAJ2tIOrHQHN5_Zfqro_JaQaewUut70jFE7sRhUd3YsMdrF-ryHkKipyp3BPTca1ssVr5fdgbQe6arCwfeC5fuixXD7XUI1edk601fGqlOBSlLqtTjWvkIWE20Gkjua-Z9DUEmq0pwABtfj7tJWJEaNDmmDb8vS8YlOeX58waHGgPGcnwDW6kZCjeBCsYa7ckx53t_dB6gA5_nZFEhLAuev9piaiNYAcsurXcWmsQWVkuBBVRAsM3wXTvf_NMgRzgXArp-hGYHlVbwBVi_U15pCNgWHGTquQ6sWRE3U-aWc4WscuhZ012qB3WNG8J081owboESPrhSoJx3M1Ii_fDPjvRG4z0gqvrhHT2y--wd6OfgMO_SQ%3D%3D&u=http%3A%2F%2Fshiro-user.582556.n2.nabble.com%2F

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

Re: Case specific wildcard permissions from shiro.ini file?

claude.warren@wipro.com

I opened a defect SHIRO-632 to address this issue and a pull request to implement it.  See dev mailing list if you are interested.


Claude


From: Claude Warren (Product Engineering Service)
Sent: Tuesday, January 9, 2018 8:49:33 AM
To: [hidden email]
Subject: Re: Case specific wildcard permissions from shiro.ini file?
 

I have an application wherein the users create objects.  Since the names of those objects are case specific any restrictions on those objects must name them by case.


so [read:object:A] is different from [read:object:a].


Since the Shiro permissions system is pluggable I want to use the simple shiro.ini user/roles/permissions system for testing. 


thus I need a mechanism to allow me to create case specific wildcard permissions from within the shrio.ini file constructs.


Claude


From: armandoxxx <[hidden email]>
Sent: Monday, January 8, 2018 5:58:29 PM
To: [hidden email]
Subject: Re: Case specific wildcard permissions from shiro.ini file?
 
** This mail has been sent from an external source. Treat hyperlinks and attachments in this email with caution**

Would you be kind enough to write your example user story for your case ?

Would be interested to know the context of your idea.

Regards

Armando



--
Sent from: https://clicktime.symantec.com/a/1/CZnRuhlxKXT7HqJoXqB0mFlXEkKBTIVBWfIPdL765GY=?d=ZtRXjJ7ayT16xagopZ81lTAjQgHHvRhAhH5YEBfLFdX4oFsfIGArdGk0Hrxbh-Yq7w1_I7UUAJ2tIOrHQHN5_Zfqro_JaQaewUut70jFE7sRhUd3YsMdrF-ryHkKipyp3BPTca1ssVr5fdgbQe6arCwfeC5fuixXD7XUI1edk601fGqlOBSlLqtTjWvkIWE20Gkjua-Z9DUEmq0pwABtfj7tJWJEaNDmmDb8vS8YlOeX58waHGgPGcnwDW6kZCjeBCsYa7ckx53t_dB6gA5_nZFEhLAuev9piaiNYAcsurXcWmsQWVkuBBVRAsM3wXTvf_NMgRzgXArp-hGYHlVbwBVi_U15pCNgWHGTquQ6sWRE3U-aWc4WscuhZ012qB3WNG8J081owboESPrhSoJx3M1Ii_fDPjvRG4z0gqvrhHT2y--wd6OfgMO_SQ%3D%3D&u=http%3A%2F%2Fshiro-user.582556.n2.nabble.com%2F

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

Re: Case specific wildcard permissions from shiro.ini file?

Brian Demers
Thanks!

On Thu, Jan 11, 2018 at 4:12 AM, [hidden email] <[hidden email]> wrote:

I opened a defect SHIRO-632 to address this issue and a pull request to implement it.  See dev mailing list if you are interested.


Claude


From: Claude Warren (Product Engineering Service)
Sent: Tuesday, January 9, 2018 8:49:33 AM

To: [hidden email]
Subject: Re: Case specific wildcard permissions from shiro.ini file?
 

I have an application wherein the users create objects.  Since the names of those objects are case specific any restrictions on those objects must name them by case.


so [read:object:A] is different from [read:object:a].


Since the Shiro permissions system is pluggable I want to use the simple shiro.ini user/roles/permissions system for testing. 


thus I need a mechanism to allow me to create case specific wildcard permissions from within the shrio.ini file constructs.


Claude


From: armandoxxx <[hidden email]>
Sent: Monday, January 8, 2018 5:58:29 PM
To: [hidden email]
Subject: Re: Case specific wildcard permissions from shiro.ini file?
 
** This mail has been sent from an external source. Treat hyperlinks and attachments in this email with caution**

Would you be kind enough to write your example user story for your case ?

Would be interested to know the context of your idea.

Regards

Armando



--
Sent from: https://clicktime.symantec.com/a/1/CZnRuhlxKXT7HqJoXqB0mFlXEkKBTIVBWfIPdL765GY=?d=ZtRXjJ7ayT16xagopZ81lTAjQgHHvRhAhH5YEBfLFdX4oFsfIGArdGk0Hrxbh-Yq7w1_I7UUAJ2tIOrHQHN5_Zfqro_JaQaewUut70jFE7sRhUd3YsMdrF-ryHkKipyp3BPTca1ssVr5fdgbQe6arCwfeC5fuixXD7XUI1edk601fGqlOBSlLqtTjWvkIWE20Gkjua-Z9DUEmq0pwABtfj7tJWJEaNDmmDb8vS8YlOeX58waHGgPGcnwDW6kZCjeBCsYa7ckx53t_dB6gA5_nZFEhLAuev9piaiNYAcsurXcWmsQWVkuBBVRAsM3wXTvf_NMgRzgXArp-hGYHlVbwBVi_U15pCNgWHGTquQ6sWRE3U-aWc4WscuhZ012qB3WNG8J081owboESPrhSoJx3M1Ii_fDPjvRG4z0gqvrhHT2y--wd6OfgMO_SQ%3D%3D&u=http%3A%2F%2Fshiro-user.582556.n2.nabble.com%2F

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________