Java Doc for DefaultSecurityEnvironmentImpl.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.DefaultSecurityEnvironmentImpl

DefaultSecurityEnvironmentImpl
public class DefaultSecurityEnvironmentImpl implements SecurityEnvironment(Code)


Field Summary
final static  booleanUSE_DAEMON_THREAD
    
final protected static  Loggerlog
    
final static  TimernonceCleanupTimer
    

Constructor Summary
public  DefaultSecurityEnvironmentImpl(CallbackHandler cHandler)
    
public  DefaultSecurityEnvironmentImpl(CallbackHandler cHandler, Properties confAssertions)
    

Method Summary
public  booleanauthenticateUser(Map context, String username, String passwordDigest, String nonce, String created)
    
public  booleanauthenticateUser(Map context, String username, String password)
    
public  SignatureKeyCallback.AliasPrivKeyCertRequestgetAliasPrivKeyCertRequest(String certIdentifier)
    
public  CallbackHandlergetCallbackHandler()
    
public  X509CertificategetCertificate(Map context, String alias, boolean forSigning)
    
public  X509CertificategetCertificate(Map context, PublicKey publicKey, boolean forSign)
    
public  X509CertificategetCertificate(Map context, byte[] identifier, String valueType)
    
public  X509CertificategetCertificate(Map context, byte[] keyIdentifier)
    
public  X509CertificategetCertificate(Map context, BigInteger serialNumber, String issuerName)
    
public  X509CertificategetDefaultCertificate(Map context)
    
public  SignatureKeyCallback.PrivKeyCertRequestgetDefaultPrivKeyCertRequest(Map context)
    
public  PrivateKeygetDefaultPrivateKey(Map context)
    
public  StringgetPassword(Map context)
    
public  PrivateKeygetPrivateKey(Map context, String alias)
    
public  PrivateKeygetPrivateKey(Map context, byte[] identifier, String valueType)
    
public  PrivateKeygetPrivateKey(Map context, byte[] keyIdentifier)
    
public  PrivateKeygetPrivateKey(Map context, BigInteger serialNumber, String issuerName)
    
public  PrivateKeygetPrivateKey(Map context, X509Certificate cert)
    
public  PrivateKeygetPrivateKey(Map context, PublicKey publicKey, boolean forSign)
    
public  PublicKeygetPublicKey(Map context, byte[] identifier, String valueType)
    
public  PublicKeygetPublicKey(Map context, byte[] keyIdentifier)
    
public  PublicKeygetPublicKey(Map context, BigInteger serialNumber, String issuerName)
    
public  SecretKeygetSecretKey(Map context, String alias, boolean encryptMode)
    
public static  SubjectgetSubject(Map context)
    
public static  SubjectgetSubject(FilterProcessingContext context)
    
public  SubjectgetSubject()
    
public  StringgetUsername(Map context)
    
public  booleanisSelfCertificate(X509Certificate cert)
    
public  ElementlocateSAMLAssertion(Map context, Element binding, String assertionId, Document ownerDoc)
    
public static  WssSoapFaultExceptionnewSOAPFaultException(QName faultCode, String faultstring, Throwable th)
     Create and initialize a WssSoapFaultException.
public  AuthenticationTokenPolicy.SAMLAssertionBindingpopulateSAMLPolicy(Map fpcontext, AuthenticationTokenPolicy.SAMLAssertionBinding policy, DynamicApplicationContext context)
    
public  voidupdateOtherPartySubject(Subject subject, String username, String password)
    
public  voidupdateOtherPartySubject(Subject subject, X509Certificate cert)
    
public  voidupdateOtherPartySubject(Subject subject, Assertion assertion)
    
public  voidupdateOtherPartySubject(Subject subject, Key secretKey)
    
public  voidupdateOtherPartySubject(Subject subject, String ek)
    
public  voidupdateOtherPartySubject(Subject subject, XMLStreamReader assertion)
    
public  voidupdateOtherPartySubject(Subject subject, Subject bootStrapSubject)
    
public  booleanvalidateAndCacheNonce(String nonce, String created, long maxNonceAge)
    
public  booleanvalidateCertificate(X509Certificate cert)
    
public  voidvalidateCreationTime(Map context, String creationTime, long maxClockSkew, long timestampFreshnessLimit)
    
public  voidvalidateSAMLAssertion(Map context, Element assertion)
    
public  voidvalidateSAMLAssertion(Map context, XMLStreamReader assertion)
    
public  booleanvalidateSamlIssuer(String issuer)
    
public  booleanvalidateSamlUser(String user, String domain, String format)
    
public  voidvalidateTimestamp(Map context, Timestamp timestamp, long maxClockSkew, long freshnessLimit)
    
public  voidvalidateTimestamp(Map context, String created, String expires, long maxClockSkew, long freshnessLimit)
    

Field Detail
USE_DAEMON_THREAD
final static boolean USE_DAEMON_THREAD(Code)



log
final protected static Logger log(Code)
logger



nonceCleanupTimer
final static Timer nonceCleanupTimer(Code)




Constructor Detail
DefaultSecurityEnvironmentImpl
public DefaultSecurityEnvironmentImpl(CallbackHandler cHandler)(Code)



DefaultSecurityEnvironmentImpl
public DefaultSecurityEnvironmentImpl(CallbackHandler cHandler, Properties confAssertions)(Code)




Method Detail
authenticateUser
public boolean authenticateUser(Map context, String username, String passwordDigest, String nonce, String created) throws XWSSecurityException(Code)



authenticateUser
public boolean authenticateUser(Map context, String username, String password) throws XWSSecurityException(Code)



getAliasPrivKeyCertRequest
public SignatureKeyCallback.AliasPrivKeyCertRequest getAliasPrivKeyCertRequest(String certIdentifier) throws XWSSecurityException(Code)



getCallbackHandler
public CallbackHandler getCallbackHandler()(Code)



getCertificate
public X509Certificate getCertificate(Map context, String alias, boolean forSigning) throws XWSSecurityException(Code)



getCertificate
public X509Certificate getCertificate(Map context, PublicKey publicKey, boolean forSign) throws XWSSecurityException(Code)



getCertificate
public X509Certificate getCertificate(Map context, byte[] identifier, String valueType) throws XWSSecurityException(Code)



getCertificate
public X509Certificate getCertificate(Map context, byte[] keyIdentifier) throws XWSSecurityException(Code)



getCertificate
public X509Certificate getCertificate(Map context, BigInteger serialNumber, String issuerName) throws XWSSecurityException(Code)



getDefaultCertificate
public X509Certificate getDefaultCertificate(Map context) throws XWSSecurityException(Code)



getDefaultPrivKeyCertRequest
public SignatureKeyCallback.PrivKeyCertRequest getDefaultPrivKeyCertRequest(Map context) throws XWSSecurityException(Code)



getDefaultPrivateKey
public PrivateKey getDefaultPrivateKey(Map context) throws XWSSecurityException(Code)



getPassword
public String getPassword(Map context) throws XWSSecurityException(Code)



getPrivateKey
public PrivateKey getPrivateKey(Map context, String alias) throws XWSSecurityException(Code)



getPrivateKey
public PrivateKey getPrivateKey(Map context, byte[] identifier, String valueType) throws XWSSecurityException(Code)



getPrivateKey
public PrivateKey getPrivateKey(Map context, byte[] keyIdentifier) throws XWSSecurityException(Code)



getPrivateKey
public PrivateKey getPrivateKey(Map context, BigInteger serialNumber, String issuerName) throws XWSSecurityException(Code)



getPrivateKey
public PrivateKey getPrivateKey(Map context, X509Certificate cert) throws XWSSecurityException(Code)



getPrivateKey
public PrivateKey getPrivateKey(Map context, PublicKey publicKey, boolean forSign) throws XWSSecurityException(Code)



getPublicKey
public PublicKey getPublicKey(Map context, byte[] identifier, String valueType) throws XWSSecurityException(Code)



getPublicKey
public PublicKey getPublicKey(Map context, byte[] keyIdentifier) throws XWSSecurityException(Code)



getPublicKey
public PublicKey getPublicKey(Map context, BigInteger serialNumber, String issuerName) throws XWSSecurityException(Code)



getSecretKey
public SecretKey getSecretKey(Map context, String alias, boolean encryptMode) throws XWSSecurityException(Code)



getSubject
public static Subject getSubject(Map context)(Code)



getSubject
public static Subject getSubject(FilterProcessingContext context)(Code)



getSubject
public Subject getSubject()(Code)



getUsername
public String getUsername(Map context) throws XWSSecurityException(Code)



isSelfCertificate
public boolean isSelfCertificate(X509Certificate cert)(Code)



locateSAMLAssertion
public Element locateSAMLAssertion(Map context, Element binding, String assertionId, Document ownerDoc) throws XWSSecurityException(Code)



newSOAPFaultException
public static WssSoapFaultException newSOAPFaultException(QName faultCode, String faultstring, Throwable th)(Code)
Create and initialize a WssSoapFaultException. This method is used in conjunction with generateClientFault.



populateSAMLPolicy
public AuthenticationTokenPolicy.SAMLAssertionBinding populateSAMLPolicy(Map fpcontext, AuthenticationTokenPolicy.SAMLAssertionBinding policy, DynamicApplicationContext context) throws XWSSecurityException(Code)



updateOtherPartySubject
public void updateOtherPartySubject(Subject subject, String username, String password)(Code)



updateOtherPartySubject
public void updateOtherPartySubject(Subject subject, X509Certificate cert)(Code)



updateOtherPartySubject
public void updateOtherPartySubject(Subject subject, Assertion assertion)(Code)



updateOtherPartySubject
public void updateOtherPartySubject(Subject subject, Key secretKey)(Code)



updateOtherPartySubject
public void updateOtherPartySubject(Subject subject, String ek)(Code)



updateOtherPartySubject
public void updateOtherPartySubject(Subject subject, XMLStreamReader assertion)(Code)



updateOtherPartySubject
public void updateOtherPartySubject(Subject subject, Subject bootStrapSubject)(Code)



validateAndCacheNonce
public boolean validateAndCacheNonce(String nonce, String created, long maxNonceAge) throws XWSSecurityException(Code)



validateCertificate
public boolean validateCertificate(X509Certificate cert) throws XWSSecurityException(Code)



validateCreationTime
public void validateCreationTime(Map context, String creationTime, long maxClockSkew, long timestampFreshnessLimit) throws XWSSecurityException(Code)

Parameters:
  creationTime -
throws:
  XWSSecurityException -



validateSAMLAssertion
public void validateSAMLAssertion(Map context, Element assertion) throws XWSSecurityException(Code)



validateSAMLAssertion
public void validateSAMLAssertion(Map context, XMLStreamReader assertion) throws XWSSecurityException(Code)



validateSamlIssuer
public boolean validateSamlIssuer(String issuer)(Code)



validateSamlUser
public boolean validateSamlUser(String user, String domain, String format)(Code)



validateTimestamp
public void validateTimestamp(Map context, Timestamp timestamp, long maxClockSkew, long freshnessLimit) throws XWSSecurityException(Code)



validateTimestamp
public void validateTimestamp(Map context, String created, String expires, long maxClockSkew, long freshnessLimit) throws XWSSecurityException(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.