Class SpnegoCredential
java.lang.Object
org.codelibs.fess.app.web.base.login.SpnegoCredential
- All Implemented Interfaces:
FessCredential,org.lastaflute.web.login.credential.LoginCredential
public class SpnegoCredential
extends Object
implements org.lastaflute.web.login.credential.LoginCredential, FessCredential
SPNEGO authentication credential implementation.
This class represents login credentials obtained through SPNEGO (Security Provider
Negotiation Protocol) authentication. It contains the username extracted from the
SPNEGO authentication process, typically from a Kerberos ticket.
-
Constructor Summary
ConstructorsConstructorDescriptionSpnegoCredential(String username) Constructs a new SpnegoCredential with the specified username. -
Method Summary
-
Constructor Details
-
SpnegoCredential
Constructs a new SpnegoCredential with the specified username.- Parameters:
username- The username obtained from SPNEGO authentication
-
-
Method Details
-
getUserId
Gets the user identifier from this credential.- Specified by:
getUserIdin interfaceFessCredential- Returns:
- The username from SPNEGO authentication
-
toString
Returns a string representation of this credential.
-