Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting File based auth for testing #2

Open
shroffk opened this issue Jul 25, 2018 · 1 comment
Open

Supporting File based auth for testing #2

shroffk opened this issue Jul 25, 2018 · 1 comment

Comments

@shroffk
Copy link

shroffk commented Jul 25, 2018

A FileRealm might make life a lot easier
Something like this...

create-auth-realm 
--classname com.sun.enterprise.security.auth.realm.file.FileRealm 
--property jaas-context=fileRealm:defaultuser=admin:file=${com.sun.aas.instanceRoot}/config/ admin-keyfile
 olog

I will have to lookup how to create a list of users

@shroffk
Copy link
Author

shroffk commented Jul 25, 2018

https://docs.oracle.com/cd/E18930_01/html/821-2433/create-file-user-1.html#SJSASEEREFMANcreate-file-user-1

there you go...this would allow for the creation of different users with different roles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant