Package com.im.df.impl.db.sprovider
Class IjcOidAuthenticationProvider
- java.lang.Object
-
- com.im.df.impl.db.sprovider.IjcOidAuthenticationProvider
-
- All Implemented Interfaces:
org.springframework.security.authentication.AuthenticationProvider
public final class IjcOidAuthenticationProvider extends Object implements org.springframework.security.authentication.AuthenticationProvider
Simple Spring authentication provider. See oid-security-template.xml.- Since:
- 21.15.0
- See Also:
IjcOidAuthenticationToken
,IjcOidAuthenticator
-
-
Constructor Summary
Constructors Constructor Description IjcOidAuthenticationProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.Authentication
authenticate(org.springframework.security.core.Authentication authentication)
String
getClientId()
String
getClientSecret()
int
getLoginTimeout()
String
getOidUrlBase()
String
getRedirectUrlBase()
String
getRedirectUrlContextPath()
int
getRedirectUrlPort()
String
getTokenStoreUrl()
void
setClientId(String clientId)
void
setClientSecret(String clientSecret)
void
setLoginTimeout(int loginTimeout)
void
setOidUrlBase(String oidUrlBase)
void
setRedirectUrlBase(String redirectUrlBase)
void
setRedirectUrlContextPath(String redirectUrlContextPath)
void
setRedirectUrlPort(int redirectUrlPort)
void
setTokenStoreUrl(String tokenStoreUrl)
boolean
supports(Class<?> aClass)
-
-
-
Method Detail
-
authenticate
public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException
- Specified by:
authenticate
in interfaceorg.springframework.security.authentication.AuthenticationProvider
- Throws:
org.springframework.security.core.AuthenticationException
-
supports
public boolean supports(Class<?> aClass)
- Specified by:
supports
in interfaceorg.springframework.security.authentication.AuthenticationProvider
-
getOidUrlBase
public String getOidUrlBase()
-
setOidUrlBase
public void setOidUrlBase(String oidUrlBase)
-
getTokenStoreUrl
public String getTokenStoreUrl()
-
setTokenStoreUrl
public void setTokenStoreUrl(String tokenStoreUrl)
-
getClientId
public String getClientId()
-
setClientId
public void setClientId(String clientId)
-
getClientSecret
public String getClientSecret()
-
setClientSecret
public void setClientSecret(String clientSecret)
-
getRedirectUrlBase
public String getRedirectUrlBase()
-
setRedirectUrlBase
public void setRedirectUrlBase(String redirectUrlBase)
-
getRedirectUrlPort
public int getRedirectUrlPort()
-
setRedirectUrlPort
public void setRedirectUrlPort(int redirectUrlPort)
-
getRedirectUrlContextPath
public String getRedirectUrlContextPath()
-
setRedirectUrlContextPath
public void setRedirectUrlContextPath(String redirectUrlContextPath)
-
getLoginTimeout
public int getLoginTimeout()
-
setLoginTimeout
public void setLoginTimeout(int loginTimeout)
-
-