FileDocCategorySizeDatePackage
ServerContainerCallbackHandler.javaAPI DocGlassfish v2 API3844Fri May 04 22:35:36 BST 2007com.sun.enterprise.security.jmac.callback

ServerContainerCallbackHandler

public final class ServerContainerCallbackHandler extends BaseContainerCallbackHandler
Callback Handler for ServerContainer
author
Harpreet Singh
author
Shing Wai Chan

Fields Summary
Constructors Summary
ServerContainerCallbackHandler()

    
Methods Summary
protected voidhandleSupportedCallbacks(javax.security.auth.callback.Callback[] callbacks)

 
        for (int i=0; i < callbacks.length; i++) {
            processCallback(callbacks[i]);
        }
    
protected booleanisSupportedCallback(javax.security.auth.callback.Callback callback)

        boolean isSupported = false;
        if (callback instanceof CertStoreCallback ||
                callback instanceof PasswordValidationCallback ||
                callback instanceof CallerPrincipalCallback ||
                callback instanceof GroupPrincipalCallback ||
                callback instanceof SecretKeyCallback ||
                callback instanceof PrivateKeyCallback ||
                callback instanceof TrustStoreCallback) {

            isSupported = true;
        }
        return isSupported;