javax.security.auth.message.config
Interface AuthConfigFactory.RegistrationContext

Enclosing class:
AuthConfigFactory

public static interface AuthConfigFactory.RegistrationContext

Represents the layer identifier, application context identifier, and description components of an AuthConfigProvider registration at the factory.


Method Summary
 java.lang.String getAppContext()
          Get the application context identifier from the registration context
 java.lang.String getDescription()
          Get the description from the registration context
 java.lang.String getMessageLayer()
          Get the layer name from the registration context
 boolean isPersistent()
          Get the persisted status from the registration context.
 

Method Detail

getMessageLayer

java.lang.String getMessageLayer()
Get the layer name from the registration context

Returns:
A String identifying the message layer for which the AuthConfigProvider was registered. The returned value may be null.

getAppContext

java.lang.String getAppContext()
Get the application context identifier from the registration context

Returns:
A String identifying the application context for which the AuthConfigProvider was registered. The returned value may be null.

getDescription

java.lang.String getDescription()
Get the description from the registration context

Returns:
The description String from the registration, or null if no description string was included in the registration.

isPersistent

boolean isPersistent()
Get the persisted status from the registration context.

Returns:
A boolean indicating whether the registration is the result of a className based registration, or an instance-based (for example, self-) registration. Only registrations performed using the five argument registerConfigProvider method are persistent.


Submit a bug or feature

Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 4-June-2010 04:34