eu.emi.security.authn.x509.impl
Class ValidatorParamsExt

java.lang.Object
  extended by eu.emi.security.authn.x509.impl.ValidatorParams
      extended by eu.emi.security.authn.x509.impl.ValidatorParamsExt

public class ValidatorParamsExt
extends ValidatorParams

Contains parameters common for all X509CertChainValidator implementations which use RevocationParametersExt

Author:
K. Benedyczak

Field Summary
protected  RevocationParametersExt revocationSettings
           
 
Fields inherited from class eu.emi.security.authn.x509.impl.ValidatorParams
allowProxy, DEFAULT_PROXY_SUPPORT, initialListeners
 
Constructor Summary
ValidatorParamsExt()
          Default constructor: proxies are allowed, no initial update listeners, default revocation settings.
ValidatorParamsExt(RevocationParametersExt revocationSettings, ProxySupport allowProxy)
          Allows for setting all parameters except the list of initial listeners
ValidatorParamsExt(RevocationParametersExt revocationSettings, ProxySupport allowProxy, Collection<? extends StoreUpdateListener> initialListeners)
          Full version, allows for setting all parameters.
 
Method Summary
 RevocationParametersExt getRevocationSettings()
           
 void setRevocationSettings(RevocationParameters revocationSettings)
          Do not use this method - it will always throw an exception.
 void setRevocationSettings(RevocationParametersExt revocationSettings)
           
 
Methods inherited from class eu.emi.security.authn.x509.impl.ValidatorParams
getInitialListeners, isAllowProxy, setAllowProxy, setInitialListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

revocationSettings

protected RevocationParametersExt revocationSettings
Constructor Detail

ValidatorParamsExt

public ValidatorParamsExt()
Default constructor: proxies are allowed, no initial update listeners, default revocation settings.


ValidatorParamsExt

public ValidatorParamsExt(RevocationParametersExt revocationSettings,
                          ProxySupport allowProxy)
Allows for setting all parameters except the list of initial listeners

Parameters:
revocationSettings - desired revocation settings
allowProxy - whether to allow proxies

ValidatorParamsExt

public ValidatorParamsExt(RevocationParametersExt revocationSettings,
                          ProxySupport allowProxy,
                          Collection<? extends StoreUpdateListener> initialListeners)
Full version, allows for setting all parameters.

Parameters:
revocationSettings - desired revocation settings
allowProxy - whether to allow proxies
initialListeners - initial trust store update listeners
Method Detail

getRevocationSettings

public RevocationParametersExt getRevocationSettings()
Overrides:
getRevocationSettings in class ValidatorParams
Returns:
revocation checking settings

setRevocationSettings

public void setRevocationSettings(RevocationParametersExt revocationSettings)
Parameters:
revocationSettings - revocation checking settings

setRevocationSettings

public void setRevocationSettings(RevocationParameters revocationSettings)
Do not use this method - it will always throw an exception. Use the one with extended parameters.

Overrides:
setRevocationSettings in class ValidatorParams
Parameters:
revocationSettings - revocation checking settings


Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.