|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xmlBlaster.authentication.AuthenticateProtector
AuthenticateProtector encapsulates Authenticate.java for security reasons.
| Field Summary | |
private Authenticate |
authenticate
|
private AvailabilityChecker |
availabilityChecker
|
private ServerScope |
glob
|
private static java.util.logging.Logger |
log
|
| Constructor Summary | |
AuthenticateProtector(ServerScope global,
Authenticate authenticate)
|
|
| Method Summary | |
java.lang.String |
connect(AddressServer addressServer,
java.lang.String connectQos_literal)
helper |
java.lang.String |
connect(AddressServer addressServer,
java.lang.String connectQos_literal,
java.lang.String secretSessionId)
|
ConnectReturnQosServer |
connect(ConnectQosServer xmlQos)
helper |
ConnectReturnQosServer |
connect(ConnectQosServer xmlQos,
java.lang.String secretSessionId)
helper |
void |
connectionState(java.lang.String secretSessionId,
ConnectionStateEnum state)
A protocol may inform the client is lost (currently only the SOCKET protocol plugin supports it) |
void |
disconnect(AddressServer addressServer,
java.lang.String secretSessionId,
java.lang.String qos_literal)
|
ServerScope |
getGlobal()
|
I_AdminSubject |
getSubjectInfoByName(SessionName sessionName)
Administrative access. |
I_XmlBlaster |
getXmlBlaster()
|
java.lang.String |
ping(AddressServer addressServer,
java.lang.String qos)
Ping xmlBlaster if everything is OK, checks the availability. |
boolean |
sessionExists(java.lang.String sessionId)
|
void |
shutdown()
|
java.lang.String |
toXml()
|
SessionInfo |
unsecureCreateSession(SessionName loginName)
Deprecated. Security hole, currently need by MainGUI.java |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private final ServerScope glob
private static java.util.logging.Logger log
private final Authenticate authenticate
private final AvailabilityChecker availabilityChecker
| Constructor Detail |
public AuthenticateProtector(ServerScope global,
Authenticate authenticate)
throws XmlBlasterException
| Method Detail |
public ServerScope getGlobal()
getGlobal in interface I_Authenticatepublic I_XmlBlaster getXmlBlaster()
getXmlBlaster in interface I_Authenticatepublic boolean sessionExists(java.lang.String sessionId)
sessionExists in interface I_Authenticate
public final ConnectReturnQosServer connect(ConnectQosServer xmlQos)
throws XmlBlasterException
connect in interface I_AuthenticateXmlBlasterException
public final ConnectReturnQosServer connect(ConnectQosServer xmlQos,
java.lang.String secretSessionId)
throws XmlBlasterException
connect in interface I_AuthenticateXmlBlasterException
public final java.lang.String connect(AddressServer addressServer,
java.lang.String connectQos_literal)
throws XmlBlasterException
connect in interface I_AuthenticateXmlBlasterException
public final java.lang.String connect(AddressServer addressServer,
java.lang.String connectQos_literal,
java.lang.String secretSessionId)
throws XmlBlasterException
connect in interface I_AuthenticateXmlBlasterException
public final void disconnect(AddressServer addressServer,
java.lang.String secretSessionId,
java.lang.String qos_literal)
throws XmlBlasterException
disconnect in interface I_AuthenticateXmlBlasterException
public final java.lang.String ping(AddressServer addressServer,
java.lang.String qos)
ping in interface I_AuthenticateAvailabilityChecker.getStatus(String)
public void connectionState(java.lang.String secretSessionId,
ConnectionStateEnum state)
I_Authenticate
connectionState in interface I_Authenticatestate - ConnectionStateEnum.DEAD
public I_AdminSubject getSubjectInfoByName(SessionName sessionName)
throws XmlBlasterException
getSubjectInfoByName in interface I_AuthenticateXmlBlasterException
public SessionInfo unsecureCreateSession(SessionName loginName)
throws XmlBlasterException
XmlBlasterException
public java.lang.String toXml()
throws XmlBlasterException
toXml in interface I_AuthenticateXmlBlasterExceptionpublic final void shutdown()
|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||