Deprecated API


Contents
Deprecated Interfaces
org.glite.security.voms.ac.ACTrustStore
          This class is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. 
 

Deprecated Classes
org.glite.security.voms.ac.ACGenerator
          This class is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. 
org.glite.security.voms.ac.ACValidator
          This class is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. Validator class capable of validating an Attribute Certificate and verify its signature against a trust store of Attribute Authority certificates. 
org.glite.security.voms.ac.AttCertIssuer
          This class is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. Shadow implementation of AttributeCertificateInfo from BouncyCastle 
org.glite.security.voms.ac.AttributeCertificate
          This class is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. A shadow implementation of the non-working BouncyCastle implementation of X.509 Attribute Certificates 
org.glite.security.voms.ac.AttributeCertificateInfo
          This class is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. Shadow implementation of AttributeCertificateInfo from BouncyCastle 
org.glite.security.voms.BasicVOMSTrustStore
          This class is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. Implementation of a AC trust store for use with VOMS. The store keeps an in-memory cache of issuer certificates, which can be refreshed periodically. 
org.glite.security.util.DNImpl
          Use DNImplRFC2253 instead for correctly formed DN strings. Created on September 8, 2003, 7:21 PM 
org.glite.security.voms.FQAN
          This class is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. Parses and assembles Fully Qualified Attribute Names (FQANs) used by VOMS. FQANs are defined as
<group>[/Role=[<role>][/Capability=<capability>]]
 
org.glite.security.voms.ac.Holder
          This class is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. The Holder object.
  Holder ::= SEQUENCE {
        baseCertificateID   [0] IssuerSerial OPTIONAL,
                 -- the issuer and serial number of
                 -- the holder's Public Key Certificate
        entityName          [1] GeneralNames OPTIONAL,
                 -- the name of the claimant or role
        objectDigestInfo    [2] ObjectDigestInfo OPTIONAL
                 -- used to directly authenticate the holder,
                 -- for example, an executable
  }
 
 
org.glite.security.voms.ac.IetfAttrSyntax
          This class is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. Implementation of IetfAttrSyntax as specified by RFC3281. 
org.glite.security.voms.ac.ObjectDigestInfo
          This class is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. 
org.glite.security.voms.ac.Util
          This class is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. 
org.glite.security.voms.ac.V2Form
          This class is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. 
org.glite.security.voms.VOMSAttribute
          This class is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. Representation of the authorization information (VO, server address and list of Fully Qualified Attribute Names, or FQANs) contained in a VOMS attribute certificate. 
org.glite.security.voms.VOMSValidator
          This class is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. The main (top) class to use for extracting VOMS information from a certificate and/or certificate chain. The VOMS information can simply be parsed or validated. No validation is performed on the certificate chain -- that is assumed to already have happenede.
The certificate chain is assumed to already be validated. It is also assumed to be sorted in TLS order, that is certificate issued by trust anchor first and client certificate last.
Example of use: this will validate any VOMS attributes in the certificate chain and check if any of the attributes grants the user the "admin" role in the group (VO) "MyVO".
 boolean isAdmin = new VOMSValidator(certChain).validate().getRoles("MyVO").contains("admin");
 
 
 

Deprecated Fields
org.glite.security.SecurityContext.AUTHZ_APPROVED_ATTRIBUTES
          This constant is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. The label fo the set of authorized attributes. 
org.glite.security.SecurityContext.AUTHZ_POLICY
          This constant is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. The label for the authorization policy. 
org.glite.security.SecurityContext.AUTHZ_REQUESTED_ATTRIBUTES
          This constant is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. The label for the set of requested attributes. 
org.glite.security.util.FullTrustAnchor.m_crl
          use m_revChecker and configurable revocation checker instead. 
org.glite.security.util.FullTrustAnchor.m_crlModified
          use m_revChecker and configurable revocation checker instead. 
org.glite.security.SecurityContext.VOMS_VALIDATOR
          This constant is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. The label for the verified VOMS Validator. 
 

Deprecated Methods
org.glite.security.util.DNImplRFC2253.constructRFC2253(boolean)
          Use getXXX or internally use private construct method. 
org.glite.security.SecurityContext.getAuthorizationPolicy()
          This method is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. 
org.glite.security.SecurityContext.getAuthorizedAttributes()
          This method is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. 
org.glite.security.SecurityContext.getClientName()
          produces DN in wrong order, rather use DN methods. 
org.glite.security.util.DNHandler.getDN(String)
          Use getDNRFC2253(String inputDN) instead for proper reversed RFC 2253 DN support. This assumes DN that is not reversed. 
org.glite.security.SecurityContext.getIssuerName()
          produces DN in wrong order, rather use DN methods. 
org.glite.security.SecurityContext.getRequestedAttributes()
          This method is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. 
org.glite.security.util.DN.getRFC2253()
          use the getRFCDN() instead, it produces proper reversed RFC2253 DN, e.g "CN=Nerd Nerdsten,O=Nerd Heaven,C=US". 
org.glite.security.util.DN.getRFC2253v2()
          use the getRFCDNv2() instead, it produces proper reversed RFC2253 DN, e.g "CN=Nerd Nerdsten,O=Nerd Heaven,C=US". 
org.glite.security.trustmanager.OpensslTrustmanagerFactory.getTrustmanager(String, String, boolean)
          use the method with CaseInsensitiveProperties argument instead. 
org.glite.security.SecurityContext.getVOMSValidator()
          This method is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. 
org.glite.security.util.TrustStorage.loadAnchors()
          use checkUpdating also for initial loading. 
org.glite.security.voms.VOMSValidator.parse()
          use the parse(X509Certificate[]) instead 
org.glite.security.util.DNImplRFC2253.parse(String)
          internal method, replaced with parse(String inputDN, boolean reversed) 
org.glite.security.util.DNImplRFC2253.parseX500(String)
          internal method, replaced with parseX500(String inputDN, boolean reversed) 
org.glite.security.util.PrivateKeyReader.read(BufferedInputStream)
          Rather use the method with reader argument. 
org.glite.security.util.PrivateKeyReader.read(BufferedInputStream, PasswordFinder)
          use rather the read method with reader input. 
org.glite.security.SecurityContext.setAuthorizationPolicy(String)
          This method is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. 
org.glite.security.SecurityContext.setAuthorizedAttributes(List)
          This method is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. 
org.glite.security.SecurityContext.setClientName(String)
          produces DN in wrong order, rather use DN methods. 
org.glite.security.SecurityContext.setIssuerName(String)
          produces DN in wrong order, rather use DN methods. 
org.glite.security.SecurityContext.setRequestedAttributes(List)
          This method is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. 
org.glite.security.SecurityContext.setVOMSValidator(VOMSValidator)
          This method is deprecated and you should use the classes found in org.glite.voms from glite-security-voms-api-java instead. 
org.glite.security.util.PrivateKeyReader.skipLine(BufferedInputStream)
          do not use, use bufferedReader.readline instead. Scheduled for removal. 
 

Deprecated Constructors
org.glite.security.trustmanager.OpensslCertPathValidator(String, boolean)
          use OpensslCertPathValidator(String trustPath, boolean crlRequired, CaseInsensitiveProperties props) instead. 
org.glite.security.trustmanager.OpensslTrustmanager(String, boolean)
          use constructor OpensslTrustmanager(String, boolean, CaseInsensitiveProperties) instead 
org.glite.security.util.TrustStorage(String)
          use the constructor TrustStorage(String, CaseInsensitiveProperties) instead.