EAServer supports direct form login, which allows you to access a Web application’s protected content directly without requiring the user to visit the Web application’s form login page.
To enable direct form login, set the following session property:
com.sybase.jaguar.servlet.session.redirecturl
This property specifies the URL of the protected page that you want to access. With the property set, submit a post request to the form login URL with the user name and password specified in the request parameters. If the login succeeds, EAServer redirects the user to the specified page.If you do not specify a page to redirect to before posting a request to the login form, EAServer redirects the user to the page specified by this Web application property:
com.sybase.jaguar.webapplication.default.protectedpage
If this property is not set, EAServer redirects the user to the Web application’s welcome page.
Also, when authentication fails, the following properties are set in the servlet session before invoking the error page:
com.sybase.jaguar.servlet.session.username
– the
user name specified in the failed login attempt.
com.sybase.jaguar.servlet.session.password
– the
password specified in the failed login attempt.
These settings are removed when authentication succeeds.
Copyright © 2005. Sybase Inc. All rights reserved. |