Package ch.tocco.nice2.sso.impl
Class OpenIdCredentials
java.lang.Object
ch.tocco.nice2.sso.impl.OpenIdCredentials
- All Implemented Interfaces:
Credentials
,LoginCredentials
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the username used for authentication.void
setAuthenticationInformation
(OpenIdAuthenticationInformation authenticationInformation) void
setUsername
(String username) boolean
If 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, wait
Methods inherited from interface ch.tocco.nice2.security.spi.auth.LoginCredentials
updatePrincipalFields
-
Constructor Details
-
OpenIdCredentials
public OpenIdCredentials()
-
-
Method Details
-
getUsername
Description copied from interface:LoginCredentials
Return the username used for authentication.- Specified by:
getUsername
in interfaceLoginCredentials
-
supportsTwoFactorAuthentication
public boolean supportsTwoFactorAuthentication()Description copied from interface:LoginCredentials
If there are credentials that do not support two factor authentication, it will not be initialised- Specified by:
supportsTwoFactorAuthentication
in interfaceLoginCredentials
-
setUsername
-
getAuthenticationInformation
-
setAuthenticationInformation
-