All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.pac4j.kerberos.profile.KerberosProfile Maven / Gradle / Ivy

There is a newer version: 6.1.0
Show newest version
package org.pac4j.kerberos.profile;

import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.ietf.jgss.GSSContext;
import org.pac4j.core.profile.CommonProfile;

import java.io.Serial;

/**
 * Represents a user profile based on a Kerberos authentication.
 *
 * @author Garry Boyce
 * @since 2.1.0
 */
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class KerberosProfile extends CommonProfile {

    @Serial
    private static final long serialVersionUID = -1388563485891552197L;
    private GSSContext gssContext = null;

    /**
     * 

Constructor for KerberosProfile.

*/ public KerberosProfile() { } /** *

Constructor for KerberosProfile.

* * @param gssContext a GSSContext object */ public KerberosProfile(final GSSContext gssContext) { this.gssContext = gssContext; } /** *

Getter for the field gssContext.

* * @return a GSSContext object */ public GSSContext getGssContext() { return gssContext; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy