Package ch.tocco.nice2.sso.impl
Class OpenIdCredentials
java.lang.Object
ch.tocco.nice2.sso.impl.OpenIdCredentials
- All Implemented Interfaces:
Credentials,LoginCredentials
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the username used for authentication.voidsetAuthenticationInformation(OpenIdAuthenticationInformation authenticationInformation) voidsetUsername(String username) booleanIf there are credentials that do not support two factor authentication, it will not be initialisedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.tocco.nice2.security.spi.auth.LoginCredentials
updatePrincipalFields
-
Constructor Details
-
OpenIdCredentials
public OpenIdCredentials()
-
-
Method Details
-
getUsername
Description copied from interface:LoginCredentialsReturn the username used for authentication.- Specified by:
getUsernamein interfaceLoginCredentials
-
supportsTwoFactorAuthentication
public boolean supportsTwoFactorAuthentication()Description copied from interface:LoginCredentialsIf there are credentials that do not support two factor authentication, it will not be initialised- Specified by:
supportsTwoFactorAuthenticationin interfaceLoginCredentials
-
setUsername
-
getAuthenticationInformation
-
setAuthenticationInformation
-