returns an authenticationplugin which authenticates the credentials if the contain authentication data and the authentication data can is valid . concode_field_sep FormAuthenticationHandler authHandler concode_field_sep Principal getPrincipal concode_elem_sep int impersonate concode_elem_sep boolean canHandle concode_elem_sep void addPrincipals concode_elem_sep void doInit concode_elem_sep ServiceRegistration register
AuthenticationPlugin function ( Principal arg0 , Credentials arg1 ) { return new AuthenticationPlugin ( ) { public boolean authenticate ( Credentials arg2 ) { return authHandler . isValid ( arg2 ) ; } } ; }