org.eclipse.jetty.plus.jaas.spi
类 PropertyFileLoginModule

java.lang.Object
  继承者 org.eclipse.jetty.plus.jaas.spi.AbstractLoginModule
      继承者 org.eclipse.jetty.plus.jaas.spi.PropertyFileLoginModule
所有已实现的接口:
LoginModule

public class PropertyFileLoginModule
extends AbstractLoginModule

PropertyFileLoginModule


嵌套类摘要
 
从类 org.eclipse.jetty.plus.jaas.spi.AbstractLoginModule 继承的嵌套类/接口
AbstractLoginModule.JAASUserInfo
 
字段摘要
static String DEFAULT_FILENAME
           
 
构造方法摘要
PropertyFileLoginModule()
           
 
方法摘要
 UserInfo getUserInfo(String userName)
          Don't implement this as we want to pre-fetch all of the users.
 void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
          Read contents of the configured property file.
 
从类 org.eclipse.jetty.plus.jaas.spi.AbstractLoginModule 继承的方法
abort, commit, configureCallbacks, getCallbackHandler, getCurrentUser, getSubject, isAuthenticated, isCommitted, login, logout, setAuthenticated, setCallbackHandler, setCommitted, setCurrentUser, setSubject
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

DEFAULT_FILENAME

public static final String DEFAULT_FILENAME
另请参见:
常量字段值
构造方法详细信息

PropertyFileLoginModule

public PropertyFileLoginModule()
方法详细信息

initialize

public void initialize(Subject subject,
                       CallbackHandler callbackHandler,
                       Map<String,?> sharedState,
                       Map<String,?> options)
Read contents of the configured property file.

指定者:
接口 LoginModule 中的 initialize
覆盖:
AbstractLoginModule 中的 initialize
参数:
subject -
callbackHandler -
sharedState -
options -
另请参见:
LoginModule.initialize(javax.security.auth.Subject, javax.security.auth.callback.CallbackHandler, java.util.Map, java.util.Map)

getUserInfo

public UserInfo getUserInfo(String userName)
                     throws Exception
Don't implement this as we want to pre-fetch all of the users.

指定者:
AbstractLoginModule 中的 getUserInfo
参数:
userName -
抛出:
Exception


Copyright © 2013. All Rights Reserved.