How to create a hook for LDAPAuth class in liferay 6.1

I am trying to intercept the LDAPAuth class in lliferay 6.1 to override ByEmailAddress authentication to add some logic on my part. I am not sure how to define this in liferay-hook.xml

<hook>
  <portal-properties>portal.properties</portal-properties>
  <custom-jsp-dir>/jsp_overrides</custom-jsp-dir>
  <service>
    <service-type>com. </service-type>
    <service-impl></service-impl>
  </service>
</hook>

what should be provided for in the type of service and service imp. my class name is MyLDAPAuth, which extends LDAPauth from liferay

+3
source share
1 answer

, , , -impl.jar, ( , forum , 't, portal-impl.jar ).

, EXT.

, EXT, portal -ext.properties ( portal.properties):

auth.pipeline.pre=com.custom.portal.security.auth.MyLDAPAuth

, , .

, , , .

+2

All Articles