@Test void testSupport() { compoundAuthProvider.supports(any()); verify(dummyAuthenticationProvider, times(1)).supports(any()); }
@Override public boolean supports(Class<?> authentication) { AuthenticationProvider configuredLoginAuthProvider = getConfiguredLoginAuthProvider(); return configuredLoginAuthProvider.supports(authentication); }
CompoundAuthProvider implements AuthenticationProvider { @Override public boolean supports(Class<?> authentication) { AuthenticationProvider configuredLoginAuthProvider = getConfiguredLoginAuthProvider(); return configuredLoginAuthProvider.supports(authentication); } }
CompoundAuthProvider implements AuthenticationProvider { @Override public boolean supports(Class<?> authentication) { AuthenticationProvider configuredLoginAuthProvider = getConfiguredLoginAuthProvider(); return configuredLoginAuthProvider.supports(authentication); } CompoundAuthProvider(Map<String, AuthenticationProvider> authProvidersMap, Environment environment, @Value("${apiml.security.auth.provider:zosmf}") String defaultProviderName); }
CompoundAuthProvider implements AuthenticationProvider { @Override public boolean supports(Class<?> authentication) { AuthenticationProvider configuredLoginAuthProvider = getConfiguredLoginAuthProvider(); return configuredLoginAuthProvider.supports(authentication); } CompoundAuthProvider(Map<String, AuthenticationProvider> authProvidersMap, Environment environment, @Value("${apiml.security.auth.provider:zosmf}") String defaultProviderName); String getLoginAuthProviderName(); void setLoginAuthProvider(String provider); @Override Authentication authenticate(Authentication authentication); @Override boolean supports(Class<?> authentication); }
CompoundAuthProvider implements AuthenticationProvider { @Override public boolean supports(Class<?> authentication) { AuthenticationProvider configuredLoginAuthProvider = getConfiguredLoginAuthProvider(); return configuredLoginAuthProvider.supports(authentication); } CompoundAuthProvider(Map<String, AuthenticationProvider> authProvidersMap, Environment environment, @Value("${apiml.security.auth.provider:zosmf}") String defaultProviderName); String getLoginAuthProviderName(); void setLoginAuthProvider(String provider); @Override Authentication authenticate(Authentication authentication); @Override boolean supports(Class<?> authentication); static final String ORG_ZOWE_APIML_SECURITY_INVALID_AUTHENTICATION_PROVIDER; static final String ORG_ZOWE_APIML_SECURITY_LOGIN_ENDPOINT_IN_DUMMY_MODE; static final String DUMMY; }