FileDocCategorySizeDatePackage
RegistrationContextImpl.javaAPI DocGlassfish v2 API3754Mon May 21 13:03:52 BST 2007com.sun.enterprise.security.jmac.config

RegistrationContextImpl

public final class RegistrationContextImpl extends Object implements javax.security.auth.message.config.AuthConfigFactory.RegistrationContext

Fields Summary
private final String
messageLayer
private final String
appContext
private final String
description
private final boolean
isPersistent
Constructors Summary
RegistrationContextImpl(String messageLayer, String appContext, String description, boolean persistent)

        
        this.messageLayer = messageLayer;
        this.appContext = appContext;
        this.description = description;
        this.isPersistent = persistent;
    
RegistrationContextImpl(javax.security.auth.message.config.AuthConfigFactory.RegistrationContext ctx)

        this.messageLayer = ctx.getMessageLayer();
        this.appContext = ctx.getAppContext();
        this.description = ctx.getDescription();
        this.isPersistent = ctx.isPersistent();
    
Methods Summary
public booleanequals(java.lang.Object o)

        if (o == null || !(o instanceof RegistrationContext)) {
            return false;
        }
        RegistrationContext target = (RegistrationContext) o;
        return ( EntryInfo.matchStrings(
            messageLayer, target.getMessageLayer()) &&
            EntryInfo.matchStrings(appContext, target.getAppContext()) &&
            EntryInfo.matchStrings(description, target.getDescription()) );
    
public java.lang.StringgetAppContext()

        return appContext;
    
public java.lang.StringgetDescription()

        return description;
    
public java.lang.StringgetMessageLayer()

        return messageLayer;
    
public booleanisPersistent()

        return isPersistent;