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 SSLSessionContextdelegate
-
Constructor Summary
Constructors Constructor Description AbstractDelegatingSSLSessionContext(SSLSessionContext delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Enumeration<byte[]>getIds()SSLSessiongetSession(byte[] sessionId)intgetSessionCacheSize()intgetSessionTimeout()voidsetSessionCacheSize(int size)voidsetSessionTimeout(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:
getSessionin interfaceSSLSessionContext
-
getIds
public Enumeration<byte[]> getIds()
- Specified by:
getIdsin interfaceSSLSessionContext
-
setSessionTimeout
public void setSessionTimeout(int seconds) throws IllegalArgumentException- Specified by:
setSessionTimeoutin interfaceSSLSessionContext- Throws:
IllegalArgumentException
-
getSessionTimeout
public int getSessionTimeout()
- Specified by:
getSessionTimeoutin interfaceSSLSessionContext
-
setSessionCacheSize
public void setSessionCacheSize(int size) throws IllegalArgumentException- Specified by:
setSessionCacheSizein interfaceSSLSessionContext- Throws:
IllegalArgumentException
-
getSessionCacheSize
public int getSessionCacheSize()
- Specified by:
getSessionCacheSizein interfaceSSLSessionContext
-
-