Package org.wildfly.security.ssl
Class AbstractDelegatingSSLSessionContext
- java.lang.Object
-
- org.wildfly.security.ssl.AbstractDelegatingSSLSessionContext
-
- All Implemented Interfaces:
SSLSessionContext
abstract class AbstractDelegatingSSLSessionContext extends Object implements SSLSessionContext
- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description private SSLSessionContext
delegate
-
Constructor Summary
Constructors Constructor Description AbstractDelegatingSSLSessionContext(SSLSessionContext delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Enumeration<byte[]>
getIds()
SSLSession
getSession(byte[] sessionId)
int
getSessionCacheSize()
int
getSessionTimeout()
void
setSessionCacheSize(int size)
void
setSessionTimeout(int seconds)
-
-
-
Field Detail
-
delegate
private final SSLSessionContext delegate
-
-
Constructor Detail
-
AbstractDelegatingSSLSessionContext
AbstractDelegatingSSLSessionContext(SSLSessionContext delegate)
-
-
Method Detail
-
getSession
public SSLSession getSession(byte[] sessionId)
- Specified by:
getSession
in interfaceSSLSessionContext
-
getIds
public Enumeration<byte[]> getIds()
- Specified by:
getIds
in interfaceSSLSessionContext
-
setSessionTimeout
public void setSessionTimeout(int seconds) throws IllegalArgumentException
- Specified by:
setSessionTimeout
in interfaceSSLSessionContext
- Throws:
IllegalArgumentException
-
getSessionTimeout
public int getSessionTimeout()
- Specified by:
getSessionTimeout
in interfaceSSLSessionContext
-
setSessionCacheSize
public void setSessionCacheSize(int size) throws IllegalArgumentException
- Specified by:
setSessionCacheSize
in interfaceSSLSessionContext
- Throws:
IllegalArgumentException
-
getSessionCacheSize
public int getSessionCacheSize()
- Specified by:
getSessionCacheSize
in interfaceSSLSessionContext
-
-