Class SampleApplication


  • public final class SampleApplication
    extends Object
    Simple servlet allowing user-agents to get a login page, and to post form-based to access a protected profile page.
    • Method Detail

      • main

        public static void main​(String[] args)
        Start an HTTP server.
        Parameters:
        args - Optionally specify a free port number and free SSL port number. Defaults: 8081 (HTTP), 8444 (HTTPS). Also optionally specify a URL used to contact OpenAM. Default: http://openam.example.com:8088/openam/oauth2