public class LDAPUserInterceptor extends Object
ItemCollection lookupProfileById(String userid)
of the service EJB
org.imixs.marty.ejb.ProfileServiceThe interceptor can be enabled by the deployment descriptor of the DocumentService. See the following example for a ejb-jar.xml configuration<interceptors> .... <interceptor> <interceptor-class>org.imixs.workflow.ldap.LDAPUserInterceptor</interceptor-class> </interceptor> .... <assembly-descriptor> <!-- LDAPGroupInterceptor --> <interceptor-binding> <description>Intercepter to add ldap attributes into the profile context</description> <ejb-name>ProfileService</ejb-name> <interceptor-class>org.imixs.workflow.ldap.LDAPUserInterceptor</interceptor-class> </interceptor-binding> </assembly-descriptor>
| Constructor and Description |
|---|
LDAPUserInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
intercept(javax.interceptor.InvocationContext ctx)
The interceptor method injects the LDAP groups into the contextData map.
|
Copyright © 2019 Imixs Software Solutions GmbH. All rights reserved.