Content Management and Capture

Content Management and Capture

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  How to develop ICN login filter

    Posted 03/09/21 10:38 AM

    We would like to filter usernames during login to ICN.

    We changed ICN authentication to: Application server form-based authentication. Next, we have followed the steps described in https://www.ibm.com/support/knowledgecenter/SSEQTP_8.5.5/com.ibm.websphere.base.doc/ae/tsec_servlet.html

    Detailed steps:

    1. Eclipse: New Dynamic Web Project, new Filter: public class LoginFilter implements Filter, as in knowledgecenter.

    2. Copy new LoginFilter.class to C:\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\WIN110Node01Cell\navigator.ear\navigator.war\WEB-INF\classes

    3. To be sure, export the project as a jar and paste it into C:\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\WIN110Node01Cell\navigator.ear\navigator.war\WEB-INF\lib

    4. Add filter definition to files:

    C:\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\WIN110Node01Cell\applications\navigator.ear\deployments\navigator\navigator.war\WEB-INF\web.xml

    C:\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\WIN110Node01Cell\navigator.ear\navigator.war\WEB-INF\web.xml

    <filter>

    <display-name>LoginFilter</display-name>

    <filter-name>LoginFilter</filter-name>

    <filter-class>pl.navigator.RSA.LoginFilter</filter-class>

    <description>Performs pre-login and post-login operation</description>

    <init-param>

    <param-name>RevokedUsers</param-name>

    <param-value>C:\IBM\PLUGINS\revokedUsers.lst</param-value>

    </init-param>

    </filter>

    <filter-mapping>

    <filter-name>LoginFilter</filter-name>

    <url-pattern>/j_security_check</url-pattern>

    </filter-mapping>

    5. Restart WAS profile with clearing temp and wstemp folders.

    Then we try to log in, nothing has changed, we can log in as before. System.out added in init() and doFilter() did not appear in SystemOut.log.



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 2.  RE: How to develop ICN login filter

    Posted 03/15/21 09:45 AM

    Please ask WebSphere support to answer the question.



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration