Package de.xima.fc.testhelper.security
Class DummyAuthenticatorPropsFactory
java.lang.Object
de.xima.fc.testhelper.security.DummyAuthenticatorPropsFactory
Factory for creating dummy
authenticator properties
for use by pac4j clients.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH, Dresden
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends IAuthenticator<?>>
AzureAdOauth2AuthenticatorProperties<T>dummyAzureProps
(T authenticator) static <T extends IAuthenticator<?>>
FacebookAuthenticatorProperties<T>dummyFacebookProps
(T authenticator) static <T extends IAuthenticator<?>>
GoogleAuthenticatorProperties<T>dummyGoogleProps
(T authenticator) static <T extends IAuthenticator<?>>
KerberosExtensionAuthenticatorProperties<T>dummyKerberosExtensionProps
(T authenticator, LDAPZugriff ldapCon) static <T extends IAuthenticator<?>>
LdapAuthenticatorProperties<T>dummyLdapProps
(T authenticator) static <T extends IAuthenticator<?>>
OAuth2AuthenticatorProperties<T>dummyOauthProps
(T authenticator) static <T extends IAuthenticator<?>>
OpenIdConnectAuthenticatorProperties<T>dummyOidcProps
(T authenticator) static <TEntity extends IAuthenticator<TFileEntity>,
TFileEntity extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>, ? extends IFileDataEntity<?>>>
SamlAuthenticatorProperties<TEntity,TFileEntity> dummySamlProps
(TEntity authenticator)
-
Constructor Details
-
DummyAuthenticatorPropsFactory
public DummyAuthenticatorPropsFactory()
-
-
Method Details
-
dummyOauthProps
public static <T extends IAuthenticator<?>> OAuth2AuthenticatorProperties<T> dummyOauthProps(T authenticator) -
dummyOidcProps
public static <T extends IAuthenticator<?>> OpenIdConnectAuthenticatorProperties<T> dummyOidcProps(T authenticator) -
dummySamlProps
public static <TEntity extends IAuthenticator<TFileEntity>,TFileEntity extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>, SamlAuthenticatorProperties<TEntity,? extends IFileDataEntity<?>>> TFileEntity> dummySamlProps(TEntity authenticator) throws Exception - Throws:
Exception
-
dummyGoogleProps
public static <T extends IAuthenticator<?>> GoogleAuthenticatorProperties<T> dummyGoogleProps(T authenticator) -
dummyFacebookProps
public static <T extends IAuthenticator<?>> FacebookAuthenticatorProperties<T> dummyFacebookProps(T authenticator) -
dummyLdapProps
public static <T extends IAuthenticator<?>> LdapAuthenticatorProperties<T> dummyLdapProps(T authenticator) -
dummyAzureProps
public static <T extends IAuthenticator<?>> AzureAdOauth2AuthenticatorProperties<T> dummyAzureProps(T authenticator) -
dummyKerberosExtensionProps
public static <T extends IAuthenticator<?>> KerberosExtensionAuthenticatorProperties<T> dummyKerberosExtensionProps(T authenticator, LDAPZugriff ldapCon)
-