Class EntraIdCredential
java.lang.Object
org.codelibs.fess.app.web.base.login.EntraIdCredential
- All Implemented Interfaces:
FessCredential,org.lastaflute.web.login.credential.LoginCredential
public class EntraIdCredential
extends Object
implements org.lastaflute.web.login.credential.LoginCredential, FessCredential
Microsoft Entra ID credential implementation for Fess authentication.
Provides login credential functionality using Entra ID authentication results.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classEntra ID user implementation providing user information and permissions. -
Constructor Summary
ConstructorsConstructorDescriptionEntraIdCredential(com.microsoft.aad.msal4j.IAuthenticationResult authResult) Constructs an Entra ID credential with the authentication result. -
Method Summary
-
Constructor Details
-
EntraIdCredential
public EntraIdCredential(com.microsoft.aad.msal4j.IAuthenticationResult authResult) Constructs an Entra ID credential with the authentication result.- Parameters:
authResult- The authentication result from Entra ID.
-
-
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 Entra ID user associated with this credential.- Returns:
- The Entra ID user instance.
-