File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss and the fly likes How to use the unauthenticatedIdentity property Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "How to use the unauthenticatedIdentity property" Watch "How to use the unauthenticatedIdentity property" New topic
Author

How to use the unauthenticatedIdentity property

Andrey Rybak
Greenhorn

Joined: Jun 05, 2004
Posts: 5
Hello

How to use this property, which can be specified in the login-config.xml
as a parameter of a LoginModule:

<module-option name = "unauthenticatedIdentity">guest</module-option>

Am I right that the j_username and j_password parameters must not be submitted at all, so that the LoginModule will get a null values trying to retrieve them?

If so how to achive this -- how to cause a form not to submit some of its input fields ?
An attempt to intercept and cancel a submit request in javascript, calling the function "open('j_security_check', 'top')" instead fails.

Best regards.
 
 
subject: How to use the unauthenticatedIdentity property
 
Threads others viewed
Form based login = please help
Deploying EJB using MySql as a datasource
webspehere security setting
JBOSS LdapLoginModule authentication. Help needed for code to use LoginContext
Login-config.xml
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture