Package com.atlassian.crowd.service
Class ServiceAccountAuthenticationContextImpl
java.lang.Object
com.atlassian.crowd.service.ServiceAccountAuthenticationContextImpl
- All Implemented Interfaces:
ServiceAccountAuthenticationContext
public class ServiceAccountAuthenticationContextImpl
extends Object
implements ServiceAccountAuthenticationContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the current service account from the authentication context.
-
Constructor Details
-
ServiceAccountAuthenticationContextImpl
public ServiceAccountAuthenticationContextImpl()
-
-
Method Details
-
getCurrentServiceAccount
Description copied from interface:ServiceAccountAuthenticationContextGets the current service account from the authentication context.- Specified by:
getCurrentServiceAccountin interfaceServiceAccountAuthenticationContext- Returns:
- Optional containing the current service account, or empty if none is set
-