How to filter Active Directory Authentication Provider. WEBLOGIC 8.1 SP4
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Saturday, May 26, 2007 08:00 AM

Hi ALL, If anybody has done some work with Authenication Providres in WL8.1 SP4. I am athenticating my web applicaion using the Security Relam. I defined the LDAP Authentication Provider following: Console ---> Security----Relams----->myrealm---> Providers ----> Authentication---> ActiveDirectoryAuthenticator Now in when I click on Console ---> Security---Realms---Users. it shows me all users present in the Active Directory(But I want users only under specific group in Active Directory) And in my authentication servlet I am using the following code. code: ------------------------------------------------------------   More>>

Hi ALL,
If anybody has done some work with Authenication Providres in WL8.1 SP4.
I am athenticating my web applicaion using the Security Relam.

I defined the LDAP Authentication Provider following:

Console ---> Security----Relams----->myrealm---> Providers ----> Authentication---> ActiveDirectoryAuthenticator




Now in when I click on Console ---> Security---Realms---Users.


it shows me all users present in the Active Directory(But I want users only under specific group in Active Directory)

And in my authentication servlet I am using the following code.

			
code:
--------------------------------------------------------------------------------

...........................................
AuthenticationProviderMBean authenticators[] = realm.getAuthenticationProviders();
for (int i=0; i
{
ActiveDirectoryAuthenticatorMBean adamb = (ActiveDirectoryAuthenticatorMBean)authenticators[i];

if(adamb.userExists(domainUserId)){ return true;
}else{
return false;
}
.................................
--------------------------------------------------------------------------------








My question is that is there any way to define this group as a configuration of the relam, or I need to write custom Authentication Provider. OR what ?



Regards
Awais Bajwa    <<Less
About | Sitemap | Contact