Class ConnectionInfoCallback
- java.lang.Object
- 
- com.tibco.tibems.tibemsd.security.ConnectionInfoCallback
 
- 
- All Implemented Interfaces:
- javax.security.auth.callback.Callback
 
 @Deprecated public class ConnectionInfoCallback extends java.lang.Object implements javax.security.auth.callback.CallbackDeprecated.as of EMS 8.1.To retrieve connection related information use theConnectionAttributesprincipal retrieved from the LoginModule Subject.- See Also:
- ConnectionAttributes
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classConnectionInfoCallback.TypeDeprecated.Enumeration of possible connection types.
 - 
Constructor SummaryConstructors Constructor Description ConnectionInfoCallback()Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.net.InetAddressgetInetAddress()Deprecated.ConnectionInfoCallback.TypegetType()Deprecated.byte[]getX509Data()Deprecated.booleanisSSL()Deprecated.voidsetInetAddress(java.net.InetAddress inetAddress)Deprecated.voidsetSSL(boolean ssl)Deprecated.voidsetType(ConnectionInfoCallback.Type type)Deprecated.voidsetX509Data(byte[] x509)Deprecated.
 
- 
- 
- 
Method Detail- 
getInetAddresspublic java.net.InetAddress getInetAddress() Deprecated.- Returns:
- the inetAddress of the remote end of the TCP connection for this client. This may or may not be the IP address of the client's network interface. NATs and other routing elements in the network may affect its value. Calling getHostName() or any of its variants may be expensive, as a reverse DNS lookup will be required.
 
 - 
setInetAddresspublic void setInetAddress(java.net.InetAddress inetAddress) Deprecated.- Parameters:
- inetAddress- the inetAddress to set
 
 - 
isSSLpublic boolean isSSL() Deprecated.- Returns:
- true if the connection is using TLS
 
 - 
setSSLpublic void setSSL(boolean ssl) Deprecated.- Parameters:
- ssl- the TLS value to set
 
 - 
getX509Datapublic byte[] getX509Data() Deprecated.- Returns:
- the x509 certificate of the remote end of the TLS connection, if one is available. This will only be set if isSSL() returns true, the remote client or server has provided a certificate, and that certificate has met the validation requirements set in this server's configuration. The bytes returned are suitable as input for the java.security.cert.Certificate.generateCertificate() method.
 
 - 
setX509Datapublic void setX509Data(byte[] x509) Deprecated.- Parameters:
- x509- the x509 certificate to set
 
 - 
getTypepublic ConnectionInfoCallback.Type getType() Deprecated.- Returns:
- the type of the connection, as defined in ConnectionInfoCallback.Type above.
 
 - 
setTypepublic void setType(ConnectionInfoCallback.Type type) Deprecated.- Parameters:
- type- the type to set
 
 
- 
 
-