eu.emi.security.authn.x509
Interface StoreUpdateListener


public interface StoreUpdateListener

Implementations receive information about updates of certificate or CRL stores. Most often this listener is used to be notified about update errors.

Author:
K. Benedyczak

Nested Class Summary
static class StoreUpdateListener.Severity
           
 
Field Summary
static String CA_CERT
           
static String CRL
           
static String EACL_NAMESPACE
           
static String EUGRIDPMA_NAMESPACE
           
 
Method Summary
 void loadingNotification(String location, String type, StoreUpdateListener.Severity level, Exception cause)
          Informs about an update related to loading of trust related material, like loading or downloading a CA certificate, CRL or others.
 

Field Detail

CA_CERT

static final String CA_CERT
See Also:
Constant Field Values

CRL

static final String CRL
See Also:
Constant Field Values

EACL_NAMESPACE

static final String EACL_NAMESPACE
See Also:
Constant Field Values

EUGRIDPMA_NAMESPACE

static final String EUGRIDPMA_NAMESPACE
See Also:
Constant Field Values
Method Detail

loadingNotification

void loadingNotification(String location,
                         String type,
                         StoreUpdateListener.Severity level,
                         Exception cause)
Informs about an update related to loading of trust related material, like loading or downloading a CA certificate, CRL or others.

Parameters:
location - not null location of the updated resource (URL or file path)
type - not-null type of resource (CA certificate, CRL files etc)
level - severity of the notification
cause - an exception thrown by a loading code, typically IOException. Can be null. If not null, message of the exception should contain problem description.


Copyright © 2012 European Middleware Initiative. All Rights Reserved.