Announcement Announcement Module
No announcement yet.
authentication-manager for Weblogic Security provider Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • authentication-manager for Weblogic Security provider

    Authentication Provider is configured in my Weblogic Application Server. I followed tutorial to develop FORM based authentication Web Application.

    Now, I want to use Spring Security instead.

    Earlier, I have used Spring security and configured authentication-manager as shown below:

    	<authentication-manager alias="authenticationManager">
    			<jdbc-user-service data-source-ref="dataSource"
    				users-by-username-query="select NAME, PASSWORD, true from PERSON where NAME = ? and STATUS = 'Active'"
    				authorities-by-username-query="select p.NAME, pr.AUTHORITY from PERSON p, PERSON_ROLE pr
    											   where p.PERSON_ID = pr.PERSON_ID and p.NAME = ? " />
    But, now, I have to fetch user role from Weblogic Security provider instead of database. Please someone help me on this.

  • #2
    The solution is in the url you posted yourself... There is a code sample showing how to programmaticly authenticate, use that to create your own provided/manager for weblogic.