Class AzureAdCredential
java.lang.Object
org.codelibs.fess.app.web.base.login.AzureAdCredential
- All Implemented Interfaces:
FessCredential,org.lastaflute.web.login.credential.LoginCredential
public class AzureAdCredential
extends Object
implements org.lastaflute.web.login.credential.LoginCredential, FessCredential
Azure Active Directory credential implementation for Fess authentication.
Provides login credential functionality using Azure AD authentication results.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAzure AD user implementation providing user information and permissions. -
Constructor Summary
ConstructorsConstructorDescriptionAzureAdCredential(com.microsoft.aad.adal4j.AuthenticationResult authResult) Constructs an Azure AD credential with the authentication result. -
Method Summary
-
Constructor Details
-
AzureAdCredential
public AzureAdCredential(com.microsoft.aad.adal4j.AuthenticationResult authResult) Constructs an Azure AD credential with the authentication result.- Parameters:
authResult- The authentication result from Azure AD.
-
-
Method Details
-
getUserId
Description copied from interface:FessCredentialGets the user ID for this credential.- Specified by:
getUserIdin interfaceFessCredential- Returns:
- The user ID.
-
toString
-
getUser
Gets the Azure AD user associated with this credential.- Returns:
- The Azure AD user instance.
-