Java Doc for DefaultCallbackHandler.java in  » 6.0-JDK-Modules-com.sun » xws-security » com » sun » xml » wss » impl » misc » 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 » 6.0 JDK Modules com.sun » xws security » com.sun.xml.wss.impl.misc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.xml.wss.impl.misc.DefaultCallbackHandler

DefaultCallbackHandler
public class DefaultCallbackHandler implements CallbackHandler(Code)
A sample implementation of a CallbackHandler.


Field Summary
final public static  StringCERTIFICATE_VALIDATOR
    
final public static  StringCERTSTORE_CBH
    
final public static  StringCERTSTORE_CERTSELECTOR
    
final public static  StringCERTSTORE_CRLSELECTOR
    
final public static  StringJMAC_CALLBACK_HANDLER
    
final public static  StringKEYSTORE_CERTSELECTOR
    
final public static  StringKEYSTORE_PASSWORD
    
final public static  StringKEYSTORE_TYPE
    
final public static  StringKEYSTORE_URL
    
final public static  StringKEY_PASSWORD
    
final public static  StringMAX_CLOCK_SKEW_PROPERTY
    
final public static  StringMAX_NONCE_AGE_PROPERTY
    
final public static  StringMY_ALIAS
    
final public static  StringMY_PASSWORD
    
final public static  StringMY_USERNAME
    
final public static  StringPASSWORD_CBH
    
final public static  StringPEER_ENTITY_ALIAS
    
final public static  StringREVOCATION_ENABLED
    
final public static  StringSAML_CBH
    
final public static  StringSAML_VALIDATOR
    
final public static  StringSERVICE_ALIAS
    
final public static  StringSTS_ALIAS
    
final public static  StringTIMESTAMP_FRESHNESS_LIMIT_PROPERTY
    
final public static  StringTIMESTAMP_VALIDATOR
    
final public static  StringTRUSTSTORE_CERTSELECTOR
    
final public static  StringTRUSTSTORE_PASSWORD
    
final public static  StringTRUSTSTORE_TYPE
    
final public static  StringTRUSTSTORE_URL
    
final public static  StringUSERNAME_CBH
    
final public static  StringUSERNAME_VALIDATOR
    
protected  longmaxClockSkewG
    
protected  longmaxNonceAge
    
protected  Stringmcs
    
protected  Stringmna
    
protected  booleanrevocationEnabled
    
protected  StringrevocationEnabledAttr
    
protected  Stringtfl
    
protected  longtimestampFreshnessLimitG
    

Constructor Summary
public  DefaultCallbackHandler(String clientOrServer, Properties assertions)
    
public  DefaultCallbackHandler(String clientOrServer, Properties assertions, RealmAuthenticationAdapter adapter)
    

Method Summary
public  PrivateKeygetPrivateKey(byte[] ski)
    
public  PrivateKeygetPrivateKey(String issuerName, BigInteger serialNumber)
    
public  PrivateKeygetPrivateKey(X509Certificate certificate)
    
public  PrivateKeygetPrivateKeyForThumbprint(byte[] ski)
    
public  SubjectgetRequesterSubject(Map context)
    
public static  byte[]getThumbprintIdentifier(X509Certificate cert)
    
public  voidhandle(Callback[] callbacks)
    
public  voidvalidateCreationTime(Date created, long maxClockSkew, long timestampFreshnessLimit)
    
public  voidvalidateExpirationTime(Date expires, long maxClockSkew, long timestampFreshnessLimit)
    

Field Detail
CERTIFICATE_VALIDATOR
final public static String CERTIFICATE_VALIDATOR(Code)



CERTSTORE_CBH
final public static String CERTSTORE_CBH(Code)



CERTSTORE_CERTSELECTOR
final public static String CERTSTORE_CERTSELECTOR(Code)



CERTSTORE_CRLSELECTOR
final public static String CERTSTORE_CRLSELECTOR(Code)



JMAC_CALLBACK_HANDLER
final public static String JMAC_CALLBACK_HANDLER(Code)



KEYSTORE_CERTSELECTOR
final public static String KEYSTORE_CERTSELECTOR(Code)



KEYSTORE_PASSWORD
final public static String KEYSTORE_PASSWORD(Code)



KEYSTORE_TYPE
final public static String KEYSTORE_TYPE(Code)



KEYSTORE_URL
final public static String KEYSTORE_URL(Code)



KEY_PASSWORD
final public static String KEY_PASSWORD(Code)



MAX_CLOCK_SKEW_PROPERTY
final public static String MAX_CLOCK_SKEW_PROPERTY(Code)



MAX_NONCE_AGE_PROPERTY
final public static String MAX_NONCE_AGE_PROPERTY(Code)



MY_ALIAS
final public static String MY_ALIAS(Code)



MY_PASSWORD
final public static String MY_PASSWORD(Code)



MY_USERNAME
final public static String MY_USERNAME(Code)



PASSWORD_CBH
final public static String PASSWORD_CBH(Code)



PEER_ENTITY_ALIAS
final public static String PEER_ENTITY_ALIAS(Code)



REVOCATION_ENABLED
final public static String REVOCATION_ENABLED(Code)



SAML_CBH
final public static String SAML_CBH(Code)



SAML_VALIDATOR
final public static String SAML_VALIDATOR(Code)



SERVICE_ALIAS
final public static String SERVICE_ALIAS(Code)



STS_ALIAS
final public static String STS_ALIAS(Code)



TIMESTAMP_FRESHNESS_LIMIT_PROPERTY
final public static String TIMESTAMP_FRESHNESS_LIMIT_PROPERTY(Code)



TIMESTAMP_VALIDATOR
final public static String TIMESTAMP_VALIDATOR(Code)



TRUSTSTORE_CERTSELECTOR
final public static String TRUSTSTORE_CERTSELECTOR(Code)



TRUSTSTORE_PASSWORD
final public static String TRUSTSTORE_PASSWORD(Code)



TRUSTSTORE_TYPE
final public static String TRUSTSTORE_TYPE(Code)



TRUSTSTORE_URL
final public static String TRUSTSTORE_URL(Code)



USERNAME_CBH
final public static String USERNAME_CBH(Code)



USERNAME_VALIDATOR
final public static String USERNAME_VALIDATOR(Code)



maxClockSkewG
protected long maxClockSkewG(Code)



maxNonceAge
protected long maxNonceAge(Code)



mcs
protected String mcs(Code)



mna
protected String mna(Code)



revocationEnabled
protected boolean revocationEnabled(Code)



revocationEnabledAttr
protected String revocationEnabledAttr(Code)



tfl
protected String tfl(Code)



timestampFreshnessLimitG
protected long timestampFreshnessLimitG(Code)




Constructor Detail
DefaultCallbackHandler
public DefaultCallbackHandler(String clientOrServer, Properties assertions) throws XWSSecurityException(Code)



DefaultCallbackHandler
public DefaultCallbackHandler(String clientOrServer, Properties assertions, RealmAuthenticationAdapter adapter) throws Exception(Code)




Method Detail
getPrivateKey
public PrivateKey getPrivateKey(byte[] ski) throws IOException(Code)



getPrivateKey
public PrivateKey getPrivateKey(String issuerName, BigInteger serialNumber) throws IOException(Code)



getPrivateKey
public PrivateKey getPrivateKey(X509Certificate certificate) throws IOException(Code)



getPrivateKeyForThumbprint
public PrivateKey getPrivateKeyForThumbprint(byte[] ski) throws IOException(Code)



getRequesterSubject
public Subject getRequesterSubject(Map context)(Code)



getThumbprintIdentifier
public static byte[] getThumbprintIdentifier(X509Certificate cert) throws XWSSecurityException(Code)



handle
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException(Code)



validateCreationTime
public void validateCreationTime(Date created, long maxClockSkew, long timestampFreshnessLimit) throws TimestampValidationCallback.TimestampValidationException(Code)



validateExpirationTime
public void validateExpirationTime(Date expires, long maxClockSkew, long timestampFreshnessLimit) throws TimestampValidationCallback.TimestampValidationException(Code)



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.