|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.aselect.server.authspprotocol.handler.AuthSPHandlerManager
public class AuthSPHandlerManager
The AuthSPHandler manager for the A-Select Server.
Description:
A singleton AuthSPHandler manager, containing the authsp handler configuration.
It loads several authsp handler settings in memory during initialize.
Concurrency issues:
The class is a singleton, so the same class is used in all the classes of
the A-Select Server.
Constructor Summary | |
---|---|
AuthSPHandlerManager()
|
Method Summary | |
---|---|
IAuthSPDirectLoginProtocolHandler |
getAuthSPDirectLoginProtocolHandler(java.lang.String sAuthSPId)
Returns the handler which is able to handle direct_login requests Description: Returns the handler which is able to handle direct_login requests Concurrency issues: - Preconditions: - Postconditions: - |
java.util.Vector |
getConfiguredAuthSPs()
Get all the configured AuthSP handlers. |
java.util.Vector |
getConfiguredAuthSPs(java.lang.Integer intMinLevel)
Get all the configured AuthSP handlers with a minimum level. |
java.util.Vector |
getConfiguredAuthSPs(java.lang.Integer intMinLevel,
java.lang.Integer intMaxLevel)
Get all the configured AuthSP handlers between two levels. |
java.lang.String |
getFriendlyName(java.lang.String sAuthSPId)
Returns the Friendly Name of an AuthSP handler. |
static AuthSPHandlerManager |
getHandle()
Must be used to get an AuthSPHandlerManager instance. |
java.lang.String |
getHandler(java.lang.String sAuthSPId)
Returns the class name of the AuthSP Handler. |
java.lang.Integer |
getLevel(java.lang.String sAuthSPId)
Returns the level of an AuthSP. |
java.lang.String |
getResourceGroup(java.lang.String sAuthSPId)
Returns the resource group of an AuthSP. |
java.lang.String |
getType(java.lang.String sAuthSPId)
Returns the type of an AuthSP. |
java.lang.String |
getUrl(java.lang.String sAuthSPId)
Returns the URL an AuthSP. |
void |
init()
Initialization of the AuthSPHandlerManager singleton Description: Must be successfully run once, before it can be used. |
boolean |
isDirectAuthSP(java.lang.String sAuthSPId)
Checks if an AuthSP is a DirectAuthSP or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthSPHandlerManager()
Method Detail |
---|
public static AuthSPHandlerManager getHandle()
AuthSPHandlerManager
instance if it's still null
.
AuthSPHandlerManager
.public void init() throws ASelectException
ASelectConfigManager
should be initialized.
ASelectException
public java.util.Vector getConfiguredAuthSPs()
Vector
object containing the Id's of all configured AuthSP handlers.
public java.util.Vector getConfiguredAuthSPs(java.lang.Integer intMinLevel, java.lang.Integer intMaxLevel)
Vector
containing the AuthSP Id's of all configured
AuthSP handlers with an level between the suplied minimum and maximum level.
intMinLevel
- Minimum level of the AuthSP Handlers to return.intMaxLevel
- Maximum level of the AuthSP Handlers to return.
public java.util.Vector getConfiguredAuthSPs(java.lang.Integer intMinLevel)
Vector
containing the AuthSP Id's of all
configured AuthSP handlers with an level higher than the
suplied minimum level.
intMinLevel
- Minimum level of the AuthSP Handlers to return.
public boolean isDirectAuthSP(java.lang.String sAuthSPId) throws ASelectException
sAuthSPId
- The Id of the AuthSP
ASelectException
- if AuthSP with sAuthSPId not exists.public java.lang.String getFriendlyName(java.lang.String sAuthSPId) throws ASelectException
sAuthSPId
- The Id of the AuthSP
ASelectException
public java.lang.String getHandler(java.lang.String sAuthSPId) throws ASelectException
sAuthSPId
- The Id of the AuthSP
ASelectException
public java.lang.String getType(java.lang.String sAuthSPId) throws ASelectException
sAuthSPId
- The Id of the AuthSP
ASelectException
public java.lang.Integer getLevel(java.lang.String sAuthSPId) throws ASelectException
sAuthSPId
- The Id of the AuthSP
ASelectException
public java.lang.String getResourceGroup(java.lang.String sAuthSPId) throws ASelectException
sAuthSPId
- The id of the AuthSP
ASelectException
public java.lang.String getUrl(java.lang.String sAuthSPId) throws ASelectException
sAuthSPId
- The id of the AuthSP
ASelectException
public IAuthSPDirectLoginProtocolHandler getAuthSPDirectLoginProtocolHandler(java.lang.String sAuthSPId) throws ASelectException
sAuthSPId
- The id of the AuthSP
ASelectException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |