Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-551

Issues when running PicketLink Addon in Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • PLINK_2.7.0.Beta2
    • PLINK_2.7.0.Beta1
    • FORGE
    • None

    Description

      According to the document of picketlink addon, in the section of "Applying Security to a Forge Scaffold Project", when issuing the command of "picketlink-setup --feature idm", the whole project build correctly with the following info. :
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 2.859 s
      [INFO] Finished at: 2014-08-19T10:43:27+08:00
      [INFO] Final Memory: 60M/543M
      [INFO] ------------------------------------------------------------------------

      But then, there's an error shows:
      **ERROR** Could not load type.

      May I know how to fix it please?

      Further more, If I omit the error and issue the next command of "picketlink-setup --feature http", and then there's a class named "HttpSecurityConfiguration" generated shown as follows:

      import org.picketlink.config.SecurityConfigurationBuilder;
      import org.picketlink.event.SecurityConfigurationEvent;
      import javax.enterprise.event.Observes;

      public class HttpSecurityConfiguration
      {

      public void onInit(@Observes SecurityConfigurationEvent event)

      { SecurityConfigurationBuilder builder = event.getBuilder(); builder.http().pathGroup("JSF Protected Pages").inbound().authc() .form().loginPage("/faces/login.xhtml") .errorPage("/faces/loginFailed.xhtml") .path("/*.xhtml", "JSF Protected Pages") .path("/*.jsf", "JSF Protected Pages").path("/logout") .inbound().logout(); }

      }

      But, there's a compile error in the class that "The method http() is undefined for the type SecurityConfigurationBuilder".

      Attachments

        Activity

          People

            psilva@redhat.com Pedro Igor Craveiro
            tonnydan tonny ton (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: