0 Replies Latest reply on Dec 19, 2002 9:59 AM by Eelco Rustenburg

    JaasSecurityManager lookup

    Eelco Rustenburg Newbie

      Hi there,

      How can I get a reference to the JaasSecurityManager? I want to get the realmName of the currently logged in user.

      It is probably done through JNDI, but I haven't been able to find it.

      We are using the DatabaseLoginModule, with multiple realms that have one login table. there is one control servlet, that receives all the requests. We use form-based authentication with SSL.

      I want to be able to check if a user has the right to enter a certain realm.

      greetz and thanks in advance!