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
-
-
Field Summary
Fields Modifier and Type Field Description private SSLConnection
sslConnection
-
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
-
-
-
-
Field Detail
-
sslConnection
private final SSLConnection sslConnection
-
-
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
-
-