Package org.apereo.cas.authentication
Class DefaultAuthenticationTransaction
java.lang.Object
org.apereo.cas.authentication.DefaultAuthenticationTransaction
- All Implemented Interfaces:
Serializable,org.apereo.cas.authentication.AuthenticationTransaction,org.apereo.cas.authentication.RegisteredServiceAwareAuthenticationTransaction
public class DefaultAuthenticationTransaction
extends Object
implements org.apereo.cas.authentication.RegisteredServiceAwareAuthenticationTransaction
This is
DefaultAuthenticationTransaction.- Since:
- 4.2.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultAuthenticationTransaction(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.services.RegisteredService registeredService, Collection<org.apereo.cas.authentication.Credential> credentials) -
Method Summary
Modifier and TypeMethodDescriptionorg.apereo.cas.authentication.AuthenticationTransactioncollect(Collection<org.apereo.cas.authentication.Authentication> authentications) Collection<org.apereo.cas.authentication.Authentication> Collection<org.apereo.cas.authentication.Credential> Optional<org.apereo.cas.authentication.Credential> org.apereo.cas.services.RegisteredServiceorg.apereo.cas.authentication.principal.ServicebooleanhasCredentialOfType(Class<? extends org.apereo.cas.authentication.Credential> type) toString()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apereo.cas.authentication.AuthenticationTransaction
getCredentialsOfType
-
Constructor Details
-
DefaultAuthenticationTransaction
public DefaultAuthenticationTransaction(org.apereo.cas.authentication.principal.Service service, org.apereo.cas.services.RegisteredService registeredService, Collection<org.apereo.cas.authentication.Credential> credentials)
-
-
Method Details
-
collect
@CanIgnoreReturnValue public org.apereo.cas.authentication.AuthenticationTransaction collect(Collection<org.apereo.cas.authentication.Authentication> authentications) - Specified by:
collectin interfaceorg.apereo.cas.authentication.AuthenticationTransaction
-
getPrimaryCredential
- Specified by:
getPrimaryCredentialin interfaceorg.apereo.cas.authentication.AuthenticationTransaction
-
hasCredentialOfType
- Specified by:
hasCredentialOfTypein interfaceorg.apereo.cas.authentication.AuthenticationTransaction
-
getService
public org.apereo.cas.authentication.principal.Service getService()- Specified by:
getServicein interfaceorg.apereo.cas.authentication.AuthenticationTransaction
-
getRegisteredService
public org.apereo.cas.services.RegisteredService getRegisteredService()- Specified by:
getRegisteredServicein interfaceorg.apereo.cas.authentication.RegisteredServiceAwareAuthenticationTransaction
-
getCredentials
- Specified by:
getCredentialsin interfaceorg.apereo.cas.authentication.AuthenticationTransaction
-
getAuthentications
- Specified by:
getAuthenticationsin interfaceorg.apereo.cas.authentication.AuthenticationTransaction
-
toString
-