public class JASPICWebListenerHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SAM_PER_REQUEST_PROPERTY
Use this servlet context initialiser property to define whether a new instance of your SAM
is created on each request or only a single instance is created.
|
| Constructor and Description |
|---|
JASPICWebListenerHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
deregisterSAM()
Call this method in the contextDestroyed method of your ServletContextListener
|
void |
registerSAM(Class samClass,
javax.servlet.ServletContextEvent sce,
String samDescription)
Call register in the contextInitialised method of your ServletContextListener
|
public static final String SAM_PER_REQUEST_PROPERTY
public void registerSAM(Class samClass, javax.servlet.ServletContextEvent sce, String samDescription)
samClass - The class of your ServerAuthenitcationModulesce - The ServletContextEvent received by your ServletContextListener.samDescription - A description for your SAMpublic void deregisterSAM()
Copyright © 2019. All rights reserved.