Class SSLCallback
- java.lang.Object
-
- org.wildfly.security.auth.callback.SSLCallback
-
- All Implemented Interfaces:
Callback
,ExtendedCallback
public final class SSLCallback extends Object implements ExtendedCallback
A callback which provides information to the callback handler about the established SSLSession.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description SSLCallback(SSLConnection sslConnection)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SSLConnection
getSslConnection()
Get the SSL connection.SSLSession
getSslSession()
Get the SSL session in force.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.security.auth.callback.ExtendedCallback
isOptional, needsInformation
-
-
-
-
Constructor Detail
-
SSLCallback
public SSLCallback(SSLConnection sslConnection)
Construct a new instance.- Parameters:
sslConnection
- the SSL connection (must not benull
)
-
-
Method Detail
-
getSslSession
public SSLSession getSslSession()
Get the SSL session in force.- Returns:
- the SSL session in force
-
getSslConnection
public SSLConnection getSslConnection()
Get the SSL connection.- Returns:
- the SSL connection
-
-