|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OwCMISAuthenticationInterceptor
Interface for authentication interception which is used for creation of OpenCMIS AuthenticationProvider. The created AuthenticationProvider instance will be used in communication with CMIS back-end.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Method Summary | |
|---|---|
org.apache.chemistry.opencmis.commons.spi.AuthenticationProvider |
createAuthenticationProvider(Map<String,?> information)
Called to create a new Authentication provider which should be used in communication between CMIS client and server. |
void |
init(com.wewebu.ow.server.util.OwXMLUtil configNode)
Initialization of AuthProviderFactory instance with corresponding configuration. |
boolean |
onRequest(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Called before login page is rendered, can be used for redirect or preparation of this instance. |
| Method Detail |
|---|
void init(com.wewebu.ow.server.util.OwXMLUtil configNode)
throws com.wewebu.ow.server.exceptions.OwException
configNode - OwXMLUtil node which represents AuthProviderFactory configuration
com.wewebu.ow.server.exceptions.OwException
org.apache.chemistry.opencmis.commons.spi.AuthenticationProvider createAuthenticationProvider(Map<String,?> information)
throws com.wewebu.ow.server.exceptions.OwException
information - Map current available informations for OpenCMIS Session creation
com.wewebu.ow.server.exceptions.OwException
boolean onRequest(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws com.wewebu.ow.server.exceptions.OwException,
IOException
If true is returned, by default a login is processed through network.
The login will call the createAuthenticationProvider(Map) and
verify against back-end if login was successful.
req - HttpServletRequestresp - HttpServletResponse
com.wewebu.ow.server.exceptions.OwException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||