~ubuntu-virt/ubuntu/maverick/eucalyptus/2.0

« back to all changes in this revision

Viewing changes to clc/modules/msgs/src/main/java/com/eucalyptus/auth/principal/credential/X509Principal.java

  • Committer: Dave Walker (Daviey)
  • Date: 2010-06-21 12:59:20 UTC
  • mfrom: (1048.1.14 ubuntu)
  • Revision ID: davewalker@ubuntu.com-20100621125920-60uhixwq174elnj1
* New major upstream version merge, 1.7 (r1200).
* debian/patches/:
  - 02-Makefile.patch: Updated to reflect new code layout.
  - 07-local_support_euca_conf-in.patch: Updated to reflect new code layout.
  - 08-ubuntu-default-networking.patch: Refreshed.
  - 09-small-128-192MB.patch: Updated to point to new location.
  - 10-disable-iscsi.patch: Refreshed.
  - 11-state-cleanup-memleakfix.patch: Refreshed.
  - 15-fix-default-ramdisk.patch: Updated to point to new location.
  - 16-kvm_libvirt_xml_default_use_kvm.patch: Updated to reflect changes.
  - 17-fix_walrus_OOM_errors.patch: Removed, fixed upstream.
  - 18-priv_security.patch: Updated to reflect upstream changes.
  - 20-brute-force-webui.patch: Updated to reflect upstream changes. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package com.eucalyptus.auth.principal.credential;
 
2
 
 
3
import java.security.cert.X509Certificate;
 
4
import java.util.List;
 
5
 
 
6
/**
 
7
 * @author decker
 
8
 */
 
9
public interface X509Principal extends CredentialPrincipal, java.io.Serializable {
 
10
  /**
 
11
   * Get the authorized X509 credentials for this principal.
 
12
   * 
 
13
   * @return
 
14
   */
 
15
  public abstract X509Certificate getX509Certificate( );
 
16
  
 
17
  /**
 
18
   * Get the list of all certificates that have ever been associated with this user identity. In the case the underlying implementation does not record past
 
19
   * certificates this method may return a list consisting of the single currently valid certificate.
 
20
   * 
 
21
   * @return
 
22
   */
 
23
  public List<X509Certificate> getAllX509Certificates( );
 
24
  
 
25
  /**
 
26
   * Change the authorized X509 certificate for this principal.
 
27
   * 
 
28
   * @param cert
 
29
   */
 
30
  public abstract void setX509Certificate( X509Certificate cert );
 
31
  
 
32
  /**
 
33
   * Revoke the X509 credentials for this principal.
 
34
   */
 
35
  public abstract void revokeX509Certificate( );
 
36
}