jaas authentication and authorisation
1 posts in topic
Flat View  Flat View

Posted By:   tippu_sultan
Posted On:   Tuesday, May 8, 2001 05:15 AM

can anyone help me how to implement jaas with servlets , policy objects should be in memory not in policyfile,i need the code of implementation

Re: jaas authentication and authorisation

Posted By:   tippu_sultan  
Posted On:   Saturday, June 9, 2001 01:41 AM

I myself got the answer

1. No need to do any configuration for servlets, webserver should be configured to implement jaas. I don't think any webserver is supporting but weblogic 7.0 will support as per bea

2. u have to make changes in java.security file to first implement ur own policy object

make this changes in ur policy file:


and u have rewrite this files or extend this file to ur own package and rewrite the code init(URL url) method so that it will read from database and not from file . read the permissions from database and crate a string with a policy syntax and change it to reader object and pass this reader object to policy parser ur dynamic policy will work successfully
About | Sitemap | Contact