public class

LoginConfigImpl

extends Configuration
java.lang.Object
   ↳ javax.security.auth.login.Configuration
     ↳ sun.security.jgss.LoginConfigImpl

Class Overview

A Configuration implementation especially designed for JGSS.

Summary

Public Constructors
LoginConfigImpl(int caller, Oid mech)
A new instance of LoginConfigImpl must be created for each login request since it's only used by a single (caller, mech) pair
Public Methods
AppConfigurationEntry[] getAppConfigurationEntry(String name)
Retrieve the AppConfigurationEntries for the specified name from this Configuration.
[Expand]
Inherited Methods
From class javax.security.auth.login.Configuration
From class java.lang.Object

Public Constructors

public LoginConfigImpl (int caller, Oid mech)

A new instance of LoginConfigImpl must be created for each login request since it's only used by a single (caller, mech) pair

Parameters
caller defined in GSSUtil as CALLER_XXX final fields

Public Methods

public AppConfigurationEntry[] getAppConfigurationEntry (String name)

Retrieve the AppConfigurationEntries for the specified name from this Configuration.

Parameters
name Almost useless, since the (caller, mech) is already passed into constructor. The only use will be detecting OTHER which is called in LoginContext
Returns
  • an array of AppConfigurationEntries for the specified name from this Configuration, or null if there are no entries for the specified name