GSSRealm (Apache Tomcat 7.0.104 API Documentation)

org.apache.catalina

## Interface GSSRealm

- All Superinterfaces:
    Realm
  All Known Implementing Classes:
    CombinedRealm, DataSourceRealm, JAASMemoryLoginModule, JAASRealm, JDBCRealm, JNDIRealm, LockOutRealm, MemoryRealm, NullRealm, RealmBase, UserDatabaseRealm

  Deprecated.
  This will be removed in Tomcat 9 and integrated into `Realm`.

      @Deprecated
      public interface GSSRealm
      extends Realm

  A GSSRealm is a specialized realm for GSS-based principals.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Principal` | `authenticate(GSSName gssName, GSSCredential gssCredential)` Deprecated. Try to authenticate using a `GSSName`

    - ### Methods inherited from interface org.apache.catalina.Realm

      `addPropertyChangeListener, authenticate, authenticate, authenticate, authenticate, authenticate, backgroundProcess, findSecurityConstraints, getContainer, getInfo, hasResourcePermission, hasRole, hasUserDataPermission, removePropertyChangeListener, setContainer`

- - ### Method Detail

    - #### authenticate

          Principal authenticate(GSSName gssName,
                               GSSCredential gssCredential)

      Deprecated.
      Try to authenticate using a `GSSName`
      Parameters:
        `gssName` - The `GSSName` of the principal to look up
        `gssCredential` - The `GSSCredential` of the principal, may be `null`
      Returns:
        the associated principal, or `null` if there is none

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.