public class WindowsAuthenticationProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider
| Constructor and Description |
|---|
WindowsAuthenticationProvider()
Instantiates a new windows authentication provider.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication authentication) |
IWindowsAuthProvider |
getAuthProvider()
Gets the auth provider.
|
org.springframework.security.core.GrantedAuthority |
getDefaultGrantedAuthority()
Gets the default granted authority.
|
GrantedAuthorityFactory |
getGrantedAuthorityFactory()
Gets the granted authority factory.
|
PrincipalFormat |
getPrincipalFormat()
Gets the principal format.
|
PrincipalFormat |
getRoleFormat()
Gets the role format.
|
boolean |
isAllowGuestLogin()
Checks if is allow guest login.
|
void |
setAllowGuestLogin(boolean value)
Sets the allow guest login.
|
void |
setAuthProvider(IWindowsAuthProvider value)
Sets the auth provider.
|
void |
setDefaultGrantedAuthority(org.springframework.security.core.GrantedAuthority value)
Sets the default granted authority.
|
void |
setGrantedAuthorityFactory(GrantedAuthorityFactory value)
Sets the granted authority factory.
|
void |
setPrincipalFormat(String value)
Sets the principal format.
|
void |
setPrincipalFormatEnum(PrincipalFormat value)
Sets the principal format enum.
|
void |
setRoleFormat(String value)
Sets the role format.
|
void |
setRoleFormatEnum(PrincipalFormat value)
Sets the role format enum.
|
boolean |
supports(Class<? extends Object> authentication)
Supports.
|
public WindowsAuthenticationProvider()
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication)
authenticate in interface org.springframework.security.authentication.AuthenticationProviderpublic boolean supports(Class<? extends Object> authentication)
supports in interface org.springframework.security.authentication.AuthenticationProviderauthentication - the authenticationpublic PrincipalFormat getPrincipalFormat()
public void setPrincipalFormatEnum(PrincipalFormat value)
value - the new principal format enumpublic void setPrincipalFormat(String value)
value - the new principal formatpublic PrincipalFormat getRoleFormat()
public void setRoleFormatEnum(PrincipalFormat value)
value - the new role format enumpublic void setRoleFormat(String value)
value - the new role formatpublic boolean isAllowGuestLogin()
public void setAllowGuestLogin(boolean value)
value - the new allow guest loginpublic IWindowsAuthProvider getAuthProvider()
public void setAuthProvider(IWindowsAuthProvider value)
value - the new auth providerpublic GrantedAuthorityFactory getGrantedAuthorityFactory()
public void setGrantedAuthorityFactory(GrantedAuthorityFactory value)
value - the new granted authority factorypublic org.springframework.security.core.GrantedAuthority getDefaultGrantedAuthority()
public void setDefaultGrantedAuthority(org.springframework.security.core.GrantedAuthority value)
value - the new default granted authorityCopyright © 2010–2020 com.github.waffle. All rights reserved.