Skip to main content

Johannes Neubauer

  • Curriculum vitae
  • Blog
    • Administration
    • General
    • HTML
    • Java
    • Knowledge
    • LaTeX
    • Tutorials
    • Shell

Tag: realm

Using JAAS login modules from jBoss in Tomcat

June 26, 2009June 26, 2009 jonny Leave a comment

A jboss login module (like the LdapExtLoginModule in jbosssx.jar shipped with jboss-5.0.1.GA) returns a
Group array with one SimpleGroup named “Roles” as its role set.
The parent class AbstractServerLoginModule combines this with the Principal
object representing the user. So the set of principals consists of two entries acting as the
user and his roles. These are added to the principals of the Subject instance, which
has been given to the login module when LoginModule#initialize(Subject, javax.security.auth.callback.CallbackHandler, java.util.Map, java.util.Map)
is called.

Read More

Share this:

  • Twitter
  • Facebook
  • LinkedIn
  • More
  • Reddit
  • Pinterest
  • Telegram
  • Pocket
  • WhatsApp
  • Skype

Like this:

Like Loading...

Recent Posts

  • Diffing and Patching Large Binary Files Part II February 24, 2022
  • Incremental Backup of Image Files (or: How to Diff and Patch Big Binary Files) February 13, 2022
  • Find Missing Files in a Backup 2nd Iteration December 2, 2021
  • Azure DevOps Wiki Export June 5, 2021
  • Find Missing Files in a Backup February 22, 2021

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Follow jonnyneubauer on Twitter
sparkling Theme by Colorlib Powered by WordPress
%d bloggers like this: