Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-9485

AccountExpirePlugin PAP is not present in .war

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 12.0.0, 13.0.0, 13.5.0
    • Fix Version/s: 14.0.0
    • Component/s: documentation
    • Labels:
    • Target Version/s:
    • Rank:
      1|hzruxr:
    • Sprint:
      Team Shakespeare Sprint 116
    • Support Ticket IDs:

      Description

      As per the docs, adding

      org.forgerock.openam.authentication.plugins.AccountExpirePlugin

      as a PAP in a chain should add a 30 day expiry to a user account. The class is supposedly OOTB but is not found.

      amAuth:07/21/2016 10:04:25:692 AM UTC: Thread[http-nio-8443-exec-4,5,main]: TransactionId[9066e17d-96d5-43ec-a26d-3b80643d9d14-40] 
      postLoginProcess Class Name is : org.forgerock.openam.authentication.plugins.AccountExpirePlugin 
      amAuth:07/21/2016 10:04:25:693 AM UTC: Thread[http-nio-8443-exec-4,5,main]: TransactionId[9066e17d-96d5-43ec-a26d-3b80643d9d14-40] 
      Class not Found : 
      java.lang.ClassNotFoundException: org.forgerock.openam.authentication.plugins.AccountExpirePlugin 
      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1308) 
      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1142) 
      at java.lang.Class.forName0(Native Method) 
      at java.lang.Class.forName(Class.java:264)
      

      Relevant module is not included in the dependencies.

      Need to build the class locally from source and manually add it to the web container, and then it will work.

      I don't think it has ever been included in the standard .war

      Doc section:

      https://backstage.forgerock.com/#!/docs/openam/13/admin-guide#authn-post-auth-plugins

      Not sure if this should be a docs issue or a product one.

        Attachments

          Activity

            People

            Assignee:
            David.Goldsmith David Goldsmith
            Reporter:
            joe.starling Joe Starling
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: