When attempting to following the instructions on the wiki's "Getting Started" page, the build step ("mvn clean package") fails with the following test errors:
Tests in error:
either authentication OR service OR both null arguments OR no authn_method principal attribute SHOULD result in empty list[0](net.unicon.cas.mfa.authentication.principal.PrincipalAttributeMultiFactorAuthenticationRequestResolverTests): No signature of method: net.unicon.cas.mfa.authentication.principal.PrincipalAttributeMultiFactorAuthenticationRequestResolver.resolve() is applicable for argument types: (null, null) values: [null, null](..)
either authentication OR service OR both null arguments OR no authn_method principal attribute SHOULD result in empty list[1](net.unicon.cas.mfa.authentication.principal.PrincipalAttributeMultiFactorAuthenticationRequestResolverTests): No signature of method: net.unicon.cas.mfa.authentication.principal.PrincipalAttributeMultiFactorAuthenticationRequestResolver.resolve() is applicable for argument types: (com.sun.proxy.$Proxy11, null) values: [Mock for type 'Authentication' named '$spock_sharedField_authenticationWithValidPrincipalAttributeFor_strong_two_factor', ...](..)
either authentication OR service OR both null arguments OR no authn_method principal attribute SHOULD result in empty list[2](net.unicon.cas.mfa.authentication.principal.PrincipalAttributeMultiFactorAuthenticationRequestResolverTests): No signature of method: net.unicon.cas.mfa.authentication.principal.PrincipalAttributeMultiFactorAuthenticationRequestResolver.resolve() is applicable for argument types: (null, org.jasig.cas.authentication.principal.SimpleWebApplicationServiceImpl) values: [null, test target service](..)
either authentication OR service OR both null arguments OR no authn_method principal attribute SHOULD result in empty list[3](net.unicon.cas.mfa.authentication.principal.PrincipalAttributeMultiFactorAuthenticationRequestResolverTests): No signature of method: net.unicon.cas.mfa.authentication.principal.PrincipalAttributeMultiFactorAuthenticationRequestResolver.resolve() is applicable for argument types: (com.sun.proxy.$Proxy11, org.jasig.cas.authentication.principal.SimpleWebApplicationServiceImpl) values: [Mock for type 'Authentication' named '$spock_sharedField_authenticationWithoutPrincipalAttributeFor_strong_two_factor', ...](..)
correct MultiFactorAuthenticationRequestContext returned when valid target service is passed and THERE IS a principal attribute 'authn_method'(net.unicon.cas.mfa.authentication.principal.PrincipalAttributeMultiFactorAuthenticationRequestResolverTests): No signature of method: net.unicon.cas.mfa.authentication.principal.PrincipalAttributeMultiFactorAuthenticationRequestResolver.resolve() is applicable for argument types: (com.sun.proxy.$Proxy11, org.jasig.cas.authentication.principal.SimpleWebApplicationServiceImpl) values: [Mock for type 'Authentication' named '$spock_sharedField_authenticationWithValidPrincipalAttributeFor_strong_two_factor', ...](..)
testServiceWithDefaultMfaAttribute(net.unicon.cas.mfa.web.support.RegisteredServiceAttributeMultiFactorAuthenticationArgumentExtractorTests): (..)
testServiceWithMfaRole(net.unicon.cas.mfa.web.support.RegisteredServiceAttributeMultiFactorAuthenticationArgumentExtractorTests): (..)
When attempting to following the instructions on the wiki's "Getting Started" page, the build step ("mvn clean package") fails with the following test errors: