Skip to content

A JAAS Example with Authorization & Authentication with custom configurations

Notifications You must be signed in to change notification settings

yasiruk/JAASExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JAASExample

Branches

  • custom_login_config - this branch has an implementation with our own login configuration
  • master - has the default JAAS configuration implementation
  • custom_policy_config - this branch has an implementation with our own security Policy class that loads configuration from run-time as well as from the default security policy file.

How to run

If you are running the default JAAS implementation from master branch then include these JVM parameters.

-Djava.security.auth.login.config=gov_jaas.config -Djava.security.manager -Djava.security.policy=security.policy

If you are running the JAAS implementation from cusom_login_config branch then include these JVM parameters.

-Djava.security.manager -Djava.security.policy=security.policy

If you are running the JAAS implementation from cusom_policy_config branch then do not include any of these JVM parameters.

About

A JAAS Example with Authorization & Authentication with custom configurations

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages