Maintaining authenticated sessions  Using a custom role service

Chapter 10: Creating and Using Custom Security Components

Retrieving HTTP session information

In a custom authentication component implemented in Java, you can call the com.sybase.jaguar.server.Jaguar.getHttpServletRequest() method to retrieve the HTTP servlet request (if any) that triggered the authentication event. This method returns null if the authentication event is not associated with an HTTP request (for example, if the authentication is for a component invocation).





Copyright © 2005. Sybase Inc. All rights reserved. Using a custom role service

View this book as PDF