public class SecurityPlugin extends DmpServletPlugin implements SecurityManagerIF
| Modifier and Type | Field and Description |
|---|---|
static String |
PLUGINNAME |
cache, pluginConfig, pluginManager, servlet| Constructor and Description |
|---|
SecurityPlugin() |
| Modifier and Type | Method and Description |
|---|---|
SessionRI |
getSession(org.dmd.dmp.server.extended.Request request) |
protected void |
init()
Derived classes should perform any initialization logic required.
|
org.dmd.dmp.server.extended.LoginResponse |
login(org.dmd.dmp.server.extended.LoginRequest request)
This method should be overloaded to perform whatever authentication is
required to determine that a user is allowed to connect.
|
org.dmd.dmp.server.extended.LogoutResponse |
logout(org.dmd.dmp.server.extended.LogoutRequest request)
Terminates the associated session with the server.
|
org.dmd.dmp.server.extended.Response |
validateSession(org.dmd.dmp.server.extended.Request request)
This method should be overloaded to perform validation of the session identifier
associated with the request as well as any additional security checks required.
|
getID, getPluginName, preInit, setManagerAndConfig, shutdown, startpublic static String PLUGINNAME
protected void init()
throws org.dmd.util.exceptions.ResultException
DmpServletPlugininit in class DmpServletPluginorg.dmd.util.exceptions.ResultExceptionpublic org.dmd.dmp.server.extended.LoginResponse login(org.dmd.dmp.server.extended.LoginRequest request)
SecurityManagerIFlogin in interface SecurityManagerIFrequest - The login request.public org.dmd.dmp.server.extended.LogoutResponse logout(org.dmd.dmp.server.extended.LogoutRequest request)
SecurityManagerIFlogout in interface SecurityManagerIFpublic org.dmd.dmp.server.extended.Response validateSession(org.dmd.dmp.server.extended.Request request)
throws org.dmd.dmc.DmcValueException
SecurityManagerIFvalidateSession in interface SecurityManagerIFrequest - the request to be checked.org.dmd.dmc.DmcValueExceptionpublic SessionRI getSession(org.dmd.dmp.server.extended.Request request)
getSession in interface SecurityManagerIFrequest - The request for which we require the session handle.Copyright © 2019. All rights reserved.