About implements AuthenticationHandler

johnhzjx johnhzjx at 163.com
Sun Jun 25 05:35:20 EDT 2006


 
 
hello,
  if Custom implements AuthenticationHandler,which config should be modify?
 
i write somebean like this:
public class CallcenterCredentials implements Credentials {}
 
public final class CallcenterCredentialsToPrincipalResolver implements
    CredentialsToPrincipalResolver {}
 
public final class CallcenterCredentialsValidator implements Validator {}
 
public abstract class AbstractCallcenterAuthenticationHandler implements
    AuthenticationHandler, InitializingBean {}
 
public final class CallcenterAuthenticationHandler extends
        AbstractCallcenterAuthenticationHandler {}
 
config deployerConfigContext.xml
/*********************************************************************************/
 
<property name="credentialsToPrincipalResolvers">
 <list>
  <bean
   class="com.abc.abccasserver.principal.CallcenterCredentialsToPrincipalResolver" />
.....
<property name="authenticationHandlers">
 <list>
  <bean
   class="com.abc.abccasserver.handler.support.CallcenterAuthenticationHandler" />


/*********************************************************************************/
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20060625/f59908a3/attachment.html


More information about the cas mailing list