Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

programatic role based authentication  RSS feed

 
abiodun emmanual
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to authenticate a user and by pass the security logon form in a class (Action or Jbean).
For example when a new user enters their registration info, is there a way
that I can direct them to the "logged on" screen (since I already have their security info) without the Container trying to protect the "logged on" resource and directing the user to the logon screen, because the user is not formally authenticated. Thanx for your time
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is, but unfortunately it appears to be different in each server, and when I went looking I couldn't find it in Tomcat.
In websphere, I use

It's been a while since I've used the other servers so I can't help more than that.
Dave
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"abiodun",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp.
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please edit your profile and select a new name which meets the requirements.
Thanks.
Dave
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!