| Author |
Spring security and Userid for authorization, instead of Role and few more questions
|
ashish kulkarni
Ranch Hand
Joined: Aug 15, 2002
Posts: 127
|
|
I have few questions, if you can answer any would be great help
I have configured LDAP to do authentication, and i am able to load the roles and authorize pattern by ROLES, i would like to know if i can add ROLES and user id for authorization for example, in below code /displayMyData will be available for all users in ROLE ROLE_ROLEADMINS, but i would like to make it available for a particular user id MYUSERID, so i dont want him to add to this ROLE, but give access to only 1 function, is it possible to do so, and if yes HOW?
I know you can give acccess by IP address using hasIpAddress
Can I get all the roles from a database table, instead of hard coding them in XML file
I can print user name on JSP page using tag <security:authentication property="principal.username"/>
Is there any tag to print all the roles on JSP page for the logged in user for testing purpose
How can i access LDAP context and user id in controller class so i read more properties or do some function after user logs in,
|
A$HI$H
|
 |
 |
|
|
subject: Spring security and Userid for authorization, instead of Role and few more questions
|
|
|