Skip to main content

Johannes Neubauer

  • Curriculum vitae
    • Curriculum vitae
    • Projects (excerpt)
    • Skills & Competencies
    • Research Interest
    • Teaching
  • Blog
    • Administration
    • General
    • HTML
    • Java
    • Knowledge
    • LaTeX
    • Tutorials
    • Shell

Tag: login module

Using JAAS login modules from jBoss in Tomcat

26. June 200926. June 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

Recent Posts

  • Backup Strategy Overhaul
  • LLMs Wildest Dreams
  • Obsidian Plugin for Print
  • Strategic Thinking in Complex Situations
  • Exploring langchain4j with Spring Boot: A Practical Journey

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

sparkling Theme by Colorlib Powered by WordPress