public class IdPProfileHandlerManager extends BaseReloadableService implements ProfileHandlerManager
ProfileHandlerManager
that maps the request path, without the servlet context, to a
profile handler and adds support for authentication handlers.BaseReloadableService.ConfigurationResourceListener
コンストラクタと説明 |
---|
IdPProfileHandlerManager()
Constructor.
|
修飾子とタイプ | メソッドと説明 |
---|---|
AbstractErrorHandler |
getErrorHandler()
Gets the error handler for this manager.
|
Map<String,LoginHandler> |
getLoginHandlers()
Gets the registered authentication handlers.
|
ProfileHandler |
getProfileHandler(javax.servlet.ServletRequest request)
Gets the profile handler to service this request.
|
Map<String,AbstractRequestURIMappedProfileHandler> |
getProfileHandlers()
Gets the registered profile handlers.
|
protected void |
loadNewErrorHandler(org.springframework.context.ApplicationContext newServiceContext)
Reads the new error handler from the newly created application context and loads it into this manager.
|
protected void |
loadNewLoginHandlers(org.springframework.context.ApplicationContext newServiceContext)
Reads the new authentication handlers from the newly created application context and loads it into this manager.
|
protected void |
loadNewProfileHandlers(org.springframework.context.ApplicationContext newServiceContext)
Reads the new profile handlers from the newly created application context and loads it into this manager.
|
protected void |
onNewContextCreated(org.springframework.context.ApplicationContext newServiceContext)
Called after a new context has been created but before it set as the service's context.
|
void |
setErrorHandler(AbstractErrorHandler handler)
Sets the error handler.
|
destroy, getPollingFrequency, getPollingRetryAttempts, getPollingTimer, initialize, reload, setPollingFrequency, setPollingRetryAttempts, setPollingTimer
getApplicationContext, getId, getReadWriteLock, getServiceConfigurations, getServiceContext, isDestroyed, isInitialized, loadContext, setApplicationContext, setBeanName, setInitialized, setServiceConfigurations, setServiceContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId, isDestroyed, isInitialized
public AbstractErrorHandler getErrorHandler()
getErrorHandler
インタフェース内 ProfileHandlerManager
public void setErrorHandler(AbstractErrorHandler handler)
handler
- error handlerpublic ProfileHandler getProfileHandler(javax.servlet.ServletRequest request)
getProfileHandler
インタフェース内 ProfileHandlerManager
request
- request that will be serviced by the profile handlerpublic Map<String,AbstractRequestURIMappedProfileHandler> getProfileHandlers()
public Map<String,LoginHandler> getLoginHandlers()
protected void onNewContextCreated(org.springframework.context.ApplicationContext newServiceContext) throws ServiceException
onNewContextCreated
クラス内 BaseService
newServiceContext
- the newly created context for the serviceServiceException
- thrown if there is a problem with the given service contextprotected void loadNewErrorHandler(org.springframework.context.ApplicationContext newServiceContext)
newServiceContext
- newly created application contextprotected void loadNewProfileHandlers(org.springframework.context.ApplicationContext newServiceContext)
newServiceContext
- newly created application contextprotected void loadNewLoginHandlers(org.springframework.context.ApplicationContext newServiceContext)
newServiceContext
- newly created application contextCopyright © 2012. All Rights Reserved.