public interface IPortalUserAuthentication
IListenerController.setPortalUserAuthentication(IPortalUserAuthentication).
A custom VersaLex portal user authentication implementation can also be set via the JVM parameter -Dcleo.iportaluserauthentication.class=fully qualified class name. Jar containing implementation should be placed in the VersaLexHome\lib\api folder.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Initial authentication of a new portal session
|
default java.lang.String |
getExternalSessionId(javax.servlet.http.HttpServletRequest request)
Returns an ID that should be associated with the current session, or
null to forgo this association. |
java.lang.String authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
request - the HTTP portal servlet requestresponse - the HTTP portal servlet response; response can be redirected to a different login pagejava.lang.Exceptiondefault java.lang.String getExternalSessionId(javax.servlet.http.HttpServletRequest request)
null to forgo this association. If a
different ID is returned for a previously authenticated portal session than in the initial authentication,
this will trigger re-authentication. Re-authentication will only be triggered when visiting the portal entry point.request - the HTTP portal servlet requestnull not to associate any ID