|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.xtreemos.xosd.services.SCDAMng
public class SCDAMng
Field Summary | |
---|---|
private CommunicationAddress |
_accesspoint_remoteaddress
|
private eu.xtreemos.system.eventmachine.queue.Context |
context
|
static java.lang.String |
servicename
AUTOGENERATED CODE |
Constructor Summary | |
---|---|
SCDAMng(eu.xtreemos.system.eventmachine.queue.Context context)
|
Method Summary | |
---|---|
void |
authenticate(java.lang.String __voUsername,
java.lang.String __voPassword)
Authenticates user with the CDA. |
void |
authenticate(java.lang.String __voUsername,
java.lang.String __voPassword,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Authenticates user with the CDA. |
void |
authenticate(java.lang.String __voUsername,
java.lang.String __voPassword,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Authenticates user with the CDA. |
void |
authenticateWithCDA(CommunicationAddress __caCDAServer,
java.security.cert.X509Certificate __caCert,
java.security.KeyPair __keyPair,
java.lang.String __voUserName,
java.lang.String __voUserPass)
This method authenticates user with CDA server. |
void |
authenticateWithCDA(CommunicationAddress __caCDAServer,
java.security.cert.X509Certificate __caCert,
java.security.KeyPair __keyPair,
java.lang.String __voUserName,
java.lang.String __voUserPass,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
This method authenticates user with CDA server. |
void |
authenticateWithCDA(CommunicationAddress __caCDAServer,
java.security.cert.X509Certificate __caCert,
java.security.KeyPair __keyPair,
java.lang.String __voUserName,
java.lang.String __voUserPass,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
This method authenticates user with CDA server. |
void |
connectToCDA(CommunicationAddress __caHost,
java.security.cert.X509Certificate __cdaCert)
Connect to CDA server. |
void |
connectToCDA(CommunicationAddress __caHost,
java.security.cert.X509Certificate __cdaCert,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Connect to CDA server. |
void |
connectToCDA(CommunicationAddress __caHost,
java.security.cert.X509Certificate __cdaCert,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Connect to CDA server. |
void |
createSSLContext(java.security.cert.X509Certificate __cdaCert)
Creating context which provides ssl sockets for the CDA server connection used in connectToCDA method. |
void |
createSSLContext(java.security.cert.X509Certificate __cdaCert,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Creating context which provides ssl sockets for the CDA server connection used in connectToCDA method. |
void |
createSSLContext(java.security.cert.X509Certificate __cdaCert,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Creating context which provides ssl sockets for the CDA server connection used in connectToCDA method. |
void |
createTrustStore(java.security.cert.X509Certificate __trustedServerCertificate,
java.lang.String __alias)
This creates KeyStore into which trustedServerCertificate is added as trusted key certificate. |
void |
createTrustStore(java.security.cert.X509Certificate __trustedServerCertificate,
java.lang.String __alias,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
This creates KeyStore into which trustedServerCertificate is added as trusted key certificate. |
void |
createTrustStore(java.security.cert.X509Certificate __trustedServerCertificate,
java.lang.String __alias,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
This creates KeyStore into which trustedServerCertificate is added as trusted key certificate. |
void |
getResourceCertificate()
|
void |
getResourceCertificate(eu.xtreemos.system.communication.bus.CallbackMessage callback)
|
void |
getResourceCertificate(eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
|
void |
getResourceCertificateFailure(java.lang.Exception __ex)
|
void |
getResourceCertificateFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
|
void |
getResourceCertificateFailure(java.lang.Exception __ex,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
|
void |
handshakeCompleted(javax.net.ssl.HandshakeCompletedEvent __ev)
This is handle method when SSL context with CDA server is established. |
void |
handshakeCompleted(javax.net.ssl.HandshakeCompletedEvent __ev,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
This is handle method when SSL context with CDA server is established. |
void |
handshakeCompleted(javax.net.ssl.HandshakeCompletedEvent __ev,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
This is handle method when SSL context with CDA server is established. |
void |
sendCertificateRequest(java.lang.String __voName,
org.bouncycastle.jce.PKCS10CertificationRequest __userRequest)
Deprecated. |
void |
sendCertificateRequest(java.lang.String __voName,
org.bouncycastle.jce.PKCS10CertificationRequest __userRequest,
eu.xtreemos.system.communication.bus.CallbackMessage callback)
Deprecated. |
void |
sendCertificateRequest(java.lang.String __voName,
org.bouncycastle.jce.PKCS10CertificationRequest __userRequest,
eu.xtreemos.system.communication.bus.CallbackMessage callback,
eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
Deprecated. |
void |
setRemoteaddress(CommunicationAddress _accesspoint_remoteaddress)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String servicename
private eu.xtreemos.system.eventmachine.queue.Context context
private CommunicationAddress _accesspoint_remoteaddress
Constructor Detail |
---|
public SCDAMng(eu.xtreemos.system.eventmachine.queue.Context context)
Method Detail |
---|
public void setRemoteaddress(CommunicationAddress _accesspoint_remoteaddress)
public void connectToCDA(CommunicationAddress __caHost, java.security.cert.X509Certificate __cdaCert)
public void connectToCDA(CommunicationAddress __caHost, java.security.cert.X509Certificate __cdaCert, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void connectToCDA(CommunicationAddress __caHost, java.security.cert.X509Certificate __cdaCert, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void createSSLContext(java.security.cert.X509Certificate __cdaCert)
cdaCert
- Certificate to use as handshake certificate.public void createSSLContext(java.security.cert.X509Certificate __cdaCert, eu.xtreemos.system.communication.bus.CallbackMessage callback)
cdaCert
- Certificate to use as handshake certificate.public void createSSLContext(java.security.cert.X509Certificate __cdaCert, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
cdaCert
- Certificate to use as handshake certificate.public void handshakeCompleted(javax.net.ssl.HandshakeCompletedEvent __ev)
public void handshakeCompleted(javax.net.ssl.HandshakeCompletedEvent __ev, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void handshakeCompleted(javax.net.ssl.HandshakeCompletedEvent __ev, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void sendCertificateRequest(java.lang.String __voName, org.bouncycastle.jce.PKCS10CertificationRequest __userRequest)
userRequest
-
java.lang.IllegalArgumentException
IOException
public void sendCertificateRequest(java.lang.String __voName, org.bouncycastle.jce.PKCS10CertificationRequest __userRequest, eu.xtreemos.system.communication.bus.CallbackMessage callback)
userRequest
-
java.lang.IllegalArgumentException
IOException
public void sendCertificateRequest(java.lang.String __voName, org.bouncycastle.jce.PKCS10CertificationRequest __userRequest, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
userRequest
-
java.lang.IllegalArgumentException
IOException
public void authenticateWithCDA(CommunicationAddress __caCDAServer, java.security.cert.X509Certificate __caCert, java.security.KeyPair __keyPair, java.lang.String __voUserName, java.lang.String __voUserPass)
caCDAServer
- address of CDA servercaCert
- is CDA's public certificatekeyPair
- is users private and public key generated by UtilsvoUserName
- user name of the user on the VOvoUserPass
- password of the userpublic void authenticateWithCDA(CommunicationAddress __caCDAServer, java.security.cert.X509Certificate __caCert, java.security.KeyPair __keyPair, java.lang.String __voUserName, java.lang.String __voUserPass, eu.xtreemos.system.communication.bus.CallbackMessage callback)
caCDAServer
- address of CDA servercaCert
- is CDA's public certificatekeyPair
- is users private and public key generated by UtilsvoUserName
- user name of the user on the VOvoUserPass
- password of the userpublic void authenticateWithCDA(CommunicationAddress __caCDAServer, java.security.cert.X509Certificate __caCert, java.security.KeyPair __keyPair, java.lang.String __voUserName, java.lang.String __voUserPass, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
caCDAServer
- address of CDA servercaCert
- is CDA's public certificatekeyPair
- is users private and public key generated by UtilsvoUserName
- user name of the user on the VOvoUserPass
- password of the userpublic void createTrustStore(java.security.cert.X509Certificate __trustedServerCertificate, java.lang.String __alias)
trustedServerCertificate
- alias
- for the certificatepublic void createTrustStore(java.security.cert.X509Certificate __trustedServerCertificate, java.lang.String __alias, eu.xtreemos.system.communication.bus.CallbackMessage callback)
trustedServerCertificate
- alias
- for the certificatepublic void createTrustStore(java.security.cert.X509Certificate __trustedServerCertificate, java.lang.String __alias, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
trustedServerCertificate
- alias
- for the certificatepublic void getResourceCertificate()
public void getResourceCertificate(eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void getResourceCertificate(eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void getResourceCertificateFailure(java.lang.Exception __ex)
public void getResourceCertificateFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback)
public void getResourceCertificateFailure(java.lang.Exception __ex, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
public void authenticate(java.lang.String __voUsername, java.lang.String __voPassword)
voUsername
- voPassword
-
IOException
public void authenticate(java.lang.String __voUsername, java.lang.String __voPassword, eu.xtreemos.system.communication.bus.CallbackMessage callback)
voUsername
- voPassword
-
IOException
public void authenticate(java.lang.String __voUsername, java.lang.String __voPassword, eu.xtreemos.system.communication.bus.CallbackMessage callback, eu.xtreemos.system.communication.bus.CallbackMessage exceptionCallback)
voUsername
- voPassword
-
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |