|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xmlBlaster.authentication.AuthenticateProtector
public final class 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
XmlBlasterException
Method Detail |
---|
public ServerScope getGlobal()
getGlobal
in interface I_Authenticate
public I_XmlBlaster getXmlBlaster()
getXmlBlaster
in interface I_Authenticate
public boolean sessionExists(java.lang.String sessionId)
sessionExists
in interface I_Authenticate
public final ConnectReturnQosServer connect(ConnectQosServer xmlQos) throws XmlBlasterException
connect
in interface I_Authenticate
XmlBlasterException
public final ConnectReturnQosServer connect(ConnectQosServer xmlQos, java.lang.String secretSessionId) throws XmlBlasterException
connect
in interface I_Authenticate
XmlBlasterException
public final java.lang.String connect(AddressServer addressServer, java.lang.String connectQos_literal) throws XmlBlasterException
connect
in interface I_Authenticate
XmlBlasterException
public final java.lang.String connect(AddressServer addressServer, java.lang.String connectQos_literal, java.lang.String secretSessionId) throws XmlBlasterException
connect
in interface I_Authenticate
XmlBlasterException
public final void disconnect(AddressServer addressServer, java.lang.String secretSessionId, java.lang.String qos_literal) throws XmlBlasterException
disconnect
in interface I_Authenticate
XmlBlasterException
public final java.lang.String ping(AddressServer addressServer, java.lang.String qos)
ping
in interface I_Authenticate
AvailabilityChecker.getStatus(String)
public void connectionState(java.lang.String secretSessionId, ConnectionStateEnum state)
I_Authenticate
connectionState
in interface I_Authenticate
state
- ConnectionStateEnum.DEADpublic I_AdminSubject getSubjectInfoByName(SessionName sessionName) throws XmlBlasterException
getSubjectInfoByName
in interface I_Authenticate
XmlBlasterException
public SessionInfo unsecureCreateSession(SessionName loginName) throws XmlBlasterException
XmlBlasterException
public java.lang.String toXml() throws XmlBlasterException
toXml
in interface I_Authenticate
XmlBlasterException
public final void shutdown()
|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |