Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1559

provide a basic programmatic way to secure a webapp when using tomee embedded deploy classpath

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.0.0-M1
    • None
    • None

    Description

      Container container = new Container(
                          new Configuration()
                                  .user("auser", "hispwd")
                                  .loginConfig(new LoginConfigBuilder().basic())
                                  .securityConstaint(new SecurityConstaintBuilder().addAuthRole("**").authConstraint(true).addCollection("api", "/api/resource2/")))
      

      Attachments

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            romain.manni-bucau Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: