/** * Causes a dynamic anthentication context configuration object to * update the internal state that it uses to process calls to its * <code>getAuthContext</code> method. * * @exception AuthException if an error occured during the update. * * @exception SecurityException if the caller does not have permission * to refresh the configuration object. */ public void refresh() { loadParser(provider, factory, null); }
public ClientAuthConfig getClientAuthConfig() throws AuthException { return (ClientAuthConfig)getAuthConfig(false); }
public void disable() { listenerWrapper.disable(); }
public ServerAuthContext getAuthContext( String authContextID, Subject serviceSubject, Map properties) throws AuthException { ServerAuthContext serverAuthContext = null; ModuleInfo moduleInfo = getModuleInfo(authContextID,properties); if (moduleInfo != null && moduleInfo.getModule() != null) { Object moduleObj = moduleInfo.getModule(); Map map = moduleInfo.getMap(); if (moduleObj instanceof ServerAuthModule) { serverAuthContext = new GFServerAuthContext(this, (ServerAuthModule)moduleObj, map); } else { serverAuthContext = new GFServerAuthContext (this, (com.sun.enterprise.security.jauth.ServerAuthModule) moduleObj, map); } } return serverAuthContext; } }
/** * Get the callback default handler */ private CallbackHandler getCallbackHandler() { CallbackHandler rvalue = AuthMessagePolicy.getDefaultCallbackHandler(); if (rvalue instanceof CallbackHandlerConfig) { ((CallbackHandlerConfig)rvalue).setHandlerContext (getHandlerContext(map)); } return rvalue; }
public void setJmacProviderRegisID(String jmacProviderRegisID) { this.listenerWrapper.setJmacProviderRegisID(jmacProviderRegisID); }
public void setHandlerContext(HandlerContext handlerContext) { ((CallbackHandlerConfig)handler).setHandlerContext(handlerContext); }
public AuthConfigRegistrationWrapper.AuthConfigRegistrationListener getRegistrationListener() { return this.listenerWrapper.getListener(); }
public ServerAuthContext getAuthContext( String authContextID, Subject serviceSubject, Map properties) throws AuthException { ServerAuthContext serverAuthContext = null; ModuleInfo moduleInfo = getModuleInfo(authContextID,properties); if (moduleInfo != null && moduleInfo.getModule() != null) { Object moduleObj = moduleInfo.getModule(); Map map = moduleInfo.getMap(); if (moduleObj instanceof ServerAuthModule) { serverAuthContext = new GFServerAuthContext(this, (ServerAuthModule)moduleObj, map); } else { serverAuthContext = new GFServerAuthContext (this, (com.sun.enterprise.security.jauth.ServerAuthModule) moduleObj, map); } } return serverAuthContext; } }
/** * Get the callback default handler */ private CallbackHandler getCallbackHandler() { CallbackHandler rvalue = AuthMessagePolicy.getDefaultCallbackHandler(); if (rvalue instanceof CallbackHandlerConfig) { ((CallbackHandlerConfig)rvalue).setHandlerContext (getHandlerContext(map)); } return rvalue; }
/** * Causes a dynamic anthentication context configuration object to * update the internal state that it uses to process calls to its * <code>getAuthContext</code> method. * * @exception AuthException if an error occured during the update. * * @exception SecurityException if the caller does not have permission * to refresh the configuration object. */ public void refresh() { loadParser(provider, factory, null); }
public ServerAuthConfig getServerAuthConfig() throws AuthException { return (ServerAuthConfig)getAuthConfig(true); }
public void disable() { listenerWrapper.disable(); }
public void setJmacProviderRegisID(String jmacProviderRegisID) { this.listenerWrapper.setJmacProviderRegisID(jmacProviderRegisID); }
public void setHandlerContext(HandlerContext handlerContext) { ((CallbackHandlerConfig)handler).setHandlerContext(handlerContext); }
public AuthConfigRegistrationWrapper.AuthConfigRegistrationListener getRegistrationListener() { return this.listenerWrapper.getListener(); }
/** * Causes a dynamic configuration provider to update its internal * state such that any resulting change to its state is reflected in * the corresponding authentication context configuration objects * previously created by the provider within the current process context. * * @exception AuthException if an error occured during the refresh. * * @exception SecurityException if the caller does not have permission * to refresh the provider. */ public void refresh() { loadParser(this, factory, null); }
public ServerAuthConfig getServerAuthConfig() throws AuthException { return (ServerAuthConfig)getAuthConfig(true); }
/** * Causes a dynamic configuration provider to update its internal * state such that any resulting change to its state is reflected in * the corresponding authentication context configuration objects * previously created by the provider within the current process context. * * @exception AuthException if an error occured during the refresh. * * @exception SecurityException if the caller does not have permission * to refresh the provider. */ public void refresh() { loadParser(this, factory, null); }
public ClientAuthConfig getClientAuthConfig() throws AuthException { return (ClientAuthConfig)getAuthConfig(false); }