Skip to content

Commit

Permalink
next time
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz committed Jan 21, 2024
1 parent 52972ec commit 2012490
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
import waffle.spring.NegotiateSecurityFilterEntryPoint;
import waffle.spring.WindowsAuthenticationProvider;
import waffle.spring.WindowsAuthenticationToken;
import waffle.windows.auth.IWindowsAuthProvider;
import waffle.windows.auth.impl.WindowsAuthProviderImpl;

/**
Expand Down Expand Up @@ -117,7 +118,7 @@ public GrantedAuthorityFactory grantedAuthorityFactory() {
@Bean
@ConditionalOnMissingBean
public WindowsAuthenticationProvider waffleSpringAuthenticationProvider(
final WindowsAuthProviderImpl waffleWindowsAuthProvider,
final IWindowsAuthProvider waffleWindowsAuthProvider,
@Qualifier("defaultGrantedAuthority") final GrantedAuthority defaultGrantedAuthority,
final GrantedAuthorityFactory grantedAuthorityFactory) {
final WindowsAuthenticationProvider bean = new WindowsAuthenticationProvider();
Expand All @@ -143,7 +144,7 @@ public WindowsAuthenticationProvider waffleSpringAuthenticationProvider(
@ConditionalOnProperty("waffle.sso.enabled")
@ConditionalOnMissingBean
public NegotiateSecurityFilterProvider negotiateSecurityFilterProvider(
final WindowsAuthProviderImpl windowsAuthProvider) {
final IWindowsAuthProvider windowsAuthProvider) {
final NegotiateSecurityFilterProvider bean = new NegotiateSecurityFilterProvider(windowsAuthProvider);
bean.setProtocols(this.properties.getSso().getProtocols());
return bean;
Expand All @@ -161,7 +162,7 @@ public NegotiateSecurityFilterProvider negotiateSecurityFilterProvider(
@Bean
@ConditionalOnProperty("waffle.sso.enabled")
@ConditionalOnMissingBean
public BasicSecurityFilterProvider basicSecurityFilterProvider(final WindowsAuthProviderImpl windowsAuthProvider) {
public BasicSecurityFilterProvider basicSecurityFilterProvider(final IWindowsAuthProvider windowsAuthProvider) {
return new BasicSecurityFilterProvider(windowsAuthProvider);
}

Expand Down Expand Up @@ -252,7 +253,7 @@ public NegotiateSecurityFilter waffleNegotiateSecurityFilter(final SecurityFilte
@Bean
@ConditionalOnProperty("waffle.sso.enabled")
public FilterRegistrationBean<NegotiateSecurityFilter> waffleNegotiateSecurityFilterRegistrationBean(
final NegotiateSecurityFilter filter) {
final Filter filter) {
final FilterRegistrationBean<NegotiateSecurityFilter> bean = new FilterRegistrationBean<>(filter);
bean.setEnabled(false);
return bean;
Expand Down

0 comments on commit 2012490

Please sign in to comment.