org.apache.jackrabbit.core.security
Class AuthContext.JAAS

java.lang.Object
  extended by org.apache.jackrabbit.core.security.authentication.JAASAuthContext
      extended by org.apache.jackrabbit.core.security.AuthContext.JAAS
All Implemented Interfaces:
AuthContext
Enclosing class:
AuthContext

Deprecated. Use JAASAuthContext instead

public static class AuthContext.JAAS
extends JAASAuthContext

An AuthContext implemented using a regular JAAS LoginContext.


Constructor Summary
AuthContext.JAAS(String name, Credentials creds)
          Deprecated. Creates an authentication context given a JAAS configuration name and some credentials.
 
Method Summary
 
Methods inherited from class org.apache.jackrabbit.core.security.authentication.JAASAuthContext
getSubject, login, logout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthContext.JAAS

public AuthContext.JAAS(String name,
                        Credentials creds)
                 throws LoginException
Deprecated. 
Creates an authentication context given a JAAS configuration name and some credentials.

Parameters:
name - the JAAS configuration index
creds - the credentials
Throws:
LoginException - if the JAAS context couldn't be created


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.