Java Doc for BasePublisher.java in  » Authentication-Authorization » ejbca » org » ejbca » core » model » ca » publisher » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Authentication Authorization » ejbca » org.ejbca.core.model.ca.publisher 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.ejbca.core.model.UpgradeableDataHashMap
      org.ejbca.core.model.ca.publisher.BasePublisher

All known Subclasses:   org.ejbca.core.model.ca.publisher.LdapPublisher,  org.ejbca.core.model.ca.publisher.CustomPublisherContainer,
BasePublisher
abstract public class BasePublisher extends UpgradeableDataHashMap implements Serializable,Cloneable(Code)
BasePublisher is a basic class that should be inherited by all types of publishers in the system.
version:
   $Id: BasePublisher.java,v 1.5 2007/09/12 14:22:46 anatom Exp $


Field Summary
final protected static  StringDESCRIPTION
    
final public static  StringFALSE
    
final public static  StringTRUE
    
final public static  StringTYPE
    

Constructor Summary
public  BasePublisher()
    

Method Summary
abstract public  Objectclone()
    
public  StringgetDescription()
    
abstract public  floatgetLatestVersion()
    
abstract public  voidrevokeCertificate(Admin admin, Certificate cert, String username, int reason)
     Revokes a certificate (already revoked by the CA), the Publisher decides what to do, if anything.
public  voidsetDescription(String description)
     Sets the description.
abstract public  booleanstoreCRL(Admin admin, byte[] incrl, String cafp, int number)
     Published a CRL to a CRL store.
Parameters:
  incrl - The DER coded CRL to be stored.
Parameters:
  chainfp - Fingerprint (hex) of the CAs certificate.
Parameters:
  number - CRL number.
abstract public  booleanstoreCertificate(Admin admin, Certificate incert, String username, String password, String cafp, int status, int type, long revocationDate, int revocationReason, ExtendedInformation extendedinformation)
     Publishes a certificate to a certificate store.
abstract public  voidtestConnection(Admin admin)
     Method used to test the connection to a publisher.
public  voidupgrade()
    

Field Detail
DESCRIPTION
final protected static String DESCRIPTION(Code)



FALSE
final public static String FALSE(Code)



TRUE
final public static String TRUE(Code)



TYPE
final public static String TYPE(Code)




Constructor Detail
BasePublisher
public BasePublisher()(Code)
Creates a new instance of CertificateProfile




Method Detail
clone
abstract public Object clone() throws CloneNotSupportedException(Code)



getDescription
public String getDescription()(Code)
Returns the description of publisher



getLatestVersion
abstract public float getLatestVersion()(Code)



revokeCertificate
abstract public void revokeCertificate(Admin admin, Certificate cert, String username, int reason) throws PublisherException(Code)
Revokes a certificate (already revoked by the CA), the Publisher decides what to do, if anything.
Parameters:
  cert - The DER coded Certificate that has been revoked.
Parameters:
  username - the username of the user holding the certificate
Parameters:
  reason - revocation reason, from RevokedCertInfo.XX
throws:
  EJBException - if a communication or other error occurs.



setDescription
public void setDescription(String description)(Code)
Sets the description.



storeCRL
abstract public boolean storeCRL(Admin admin, byte[] incrl, String cafp, int number) throws PublisherException(Code)
Published a CRL to a CRL store.
Parameters:
  incrl - The DER coded CRL to be stored.
Parameters:
  chainfp - Fingerprint (hex) of the CAs certificate.
Parameters:
  number - CRL number. true if storage was successful.
throws:
  EJBException - if a communication or other error occurs.



storeCertificate
abstract public boolean storeCertificate(Admin admin, Certificate incert, String username, String password, String cafp, int status, int type, long revocationDate, int revocationReason, ExtendedInformation extendedinformation) throws PublisherException(Code)
Publishes a certificate to a certificate store. If status is not active for the certificate, the publisher may choose to not publish the certificate, for instance if revoke removes a certificate from LDAP, re-publishing the certificate should not add it again if the status is revoked.
Parameters:
  incert - The certificate to be stored.
Parameters:
  chainfp - Fingerprint (hex) of the CAs certificate.
Parameters:
  username - Username of end entity owning the certificate.
Parameters:
  password - Password given to the user, may be null if no password exists for the user.
Parameters:
  status - Status of the certificate (from CertificateData).
Parameters:
  type - Type of certificate (from CertificateDataBean).
Parameters:
  revocationDate - Date for revocation (of revoked), like System.currentTimeMillis(), or -1 if not revoked.
Parameters:
  revocationReason - reason for revocation from RevokedCertInfo, RevokedCertInfo.NOT_REVOKED if not revoked.
Parameters:
  extendedinformation - contains extended information about the user, like picture, is null if no extendedinformation exists about the user. true if storage was successful.
throws:
  EJBException - if a communication or other error occurs.



testConnection
abstract public void testConnection(Admin admin) throws PublisherConnectionException(Code)
Method used to test the connection to a publisher.
Parameters:
  admin - the administrator perfoming the test
throws:
  PublisherConnectionException - when couldn't be set up correctly in any way.



upgrade
public void upgrade()(Code)



Fields inherited from org.ejbca.core.model.UpgradeableDataHashMap
final public static String VERSION(Code)(Java Doc)
protected HashMap data(Code)(Java Doc)

Methods inherited from org.ejbca.core.model.UpgradeableDataHashMap
abstract public float getLatestVersion()(Code)(Java Doc)
public float getVersion()(Code)(Java Doc)
public void loadData(Object data)(Code)(Java Doc)
public Object saveData()(Code)(Java Doc)
abstract public void upgrade()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.