среда, 18 ноября 2009 г.
Good examples of Java EE patterns.
In the last message from SDN, I received information about "Java EE Patterns and Best Practices Project". That is excellent idea, with excellent realization. I recommend to all developers that use Java EE to see this examples.
To get it, you should have mercurial and checkout repository, you can do it with following command:
hg clone https://hg.kenai.com/hg/javaee-patterns~hg .
To view and run examples, you need Netbeans IDE.
Also you can discuss examples here: http://kenai.com/projects/javaee-patterns?cid=e9803
суббота, 13 декабря 2008 г.
Global security in WAS 6.1over Active Directory
Success command is: ldapsearch.bat -b "dc=domain,dc=com" -D "cn=username,cn=users,dc=domain,dc=com" "(&(|(cn=username)(samAccountName=username))(objectclass=user))".
When I get user with username username, I move this settings to WebSphere Application Server. Also, user should be in group Domain Administrator.
We must set next settings in WAS(sorry me, but name of parameters are not exact, because I have russian version of WAS):
Administrator username: username
Host: localhost(or other if AD server installed on other host)
LDAP Server Type: Active Directory
Base DN: dc=domain, dc=com
Other DN: cn=username,cn=users,dc=domain,dc=com
Password for connect: domain password for user
In next step we should set filters(Additional Parameters for LDAP registry):
User Filter: (&(|(cn=%v)(samAccountName=%v))(objectclass=user))
Group Filter: (&(cn=%v)(objectcategory=group))
ID user map: user:sAMAccountName
ID group map: *:cn
And now you can set current global security as autonomous LDAP registry!
Most popular
-
UPD: One good man leave a good comment :) I think this is now supported in the standard; http://logging.apache.org/log4j/companions/extr...
-
Problem: test for equals two objects of the same class by all fields(deep equals). For solve this problem I use reflection API from JDK. Pa...
-
Lately I've faced a simple problem: I needed to read all bytes from the InputStream. I didn't know type of the InputStream, so, I...
-
Hi all! I have a new project that use Alfresco as a backend to store content. I need select content by date. User specifies dates and the ...
-
When I try to solve this problem I read two docs: help in Netbeans 6( http://www.netbeans.org/kb/60/web/mysql-webapp.html#settingUpConnPool ...
| Powered by graphicdesignschooldirectory.com . |