• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Unauthenticatedidentity previliges - JBoss security

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can i configuring have my unauthenticatedidentity to have permission to access all the ejb session bean methods? If so how do i do this.. Do i have to programatically assign all the roles ( i have roles stored in the db and not in property file), or can i configure jboss to understand the unauthenticatedidentity and allow him permission to all the methods?

if the second option is possible how do i do it?

Please help...
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to http://labs.jboss.com/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/4/html/Using_JBoss_Login_Modules-Unauthenticated_Identity.html, the unuthenticatedIdentity property defines a role to assign to users who have not logged in. You can use that role just like any other role.
 
akhil achuthan
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for replying Peter

The doc says that, as such the jboss does not assign any role to the unauthenticated entity. It is only to access methods that do not require a specific role...

But im in need of having some principal that will be assigned all the available roles by default..... He should be able to access any ejb method in my container....
 
brevity is the soul of wit - shakepeare. Tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!