Package org.forgerock.openig.doc
Class SampleApplication
- java.lang.Object
-
- org.forgerock.openig.doc.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. Endpoints: /home - the home page /profile - displays authenticated user info /login - login page /logout - logout page /jwt - JWT signature verification page /.well-known/webfinger?resource=[openid identifier] - return webfinger query looking for given sample application AM URL. /uma/ - redirects to UMA index application /uma/alice.html - Alice shares resource /uma/bob.html - Bob accesses resource /websocket/index.html - the HTML/JS web socket client /websocket/echo - the web socket endpoint (server)
-
-
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, session timeout and AM URL.
-
-