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

  • authentication-manager for Weblogic Security provider

    Authentication Provider is configured in my Weblogic Application Server. I followed http://docs.oracle.com/cd/E23943_01/...t.htm#i1033473 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:

    Code:
    	<authentication-manager alias="authenticationManager">
    
    		<authentication-provider>
    
    			<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 = ? " />
    
    		</authentication-provider>
    
    	</authentication-manager>
    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.

    Comment

    Working...
    X