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


001:        /*
002:         * BasicSecurityProfile.java
003:         *
004:         * Created on April 16, 2007, 3:08 PM
005:         *
006:         * To change this template, choose Tools | Template Manager
007:         * and open the template in the editor.
008:         */
009:
010:        package com.sun.xml.wss;
011:
012:        /**
013:         *
014:         * @author K.Venugopal@sun.com
015:         */
016:        import com.sun.xml.wss.impl.XWSSecurityRuntimeException;
017:        import com.sun.xml.wss.logging.LogDomainConstants;
018:        import com.sun.xml.wss.logging.LogStringsMessages;
019:        import java.util.logging.Level;
020:        import java.util.logging.Logger;
021:
022:        public final class BasicSecurityProfile {
023:
024:            private boolean timeStampFound = false;
025:            private static Logger log = Logger.getLogger(
026:                    LogDomainConstants.WSS_API_DOMAIN,
027:                    LogDomainConstants.WSS_API_DOMAIN_BUNDLE);
028:
029:            /** Creates a new instance of BasicSecurityProfile */
030:            public BasicSecurityProfile() {
031:            }
032:
033:            /**
034:             * 
035:             */
036:            public final static void log_bsp_3203() {
037:                log.log(Level.SEVERE, LogStringsMessages
038:                        .BSP_3203_ONECREATED_TIMESTAMP());
039:                throw new XWSSecurityRuntimeException(LogStringsMessages
040:                        .BSP_3203_ONECREATED_TIMESTAMP());
041:            }
042:
043:            /**
044:             * 
045:             */
046:            public final static void log_bsp_3224() {
047:                log.log(Level.SEVERE, LogStringsMessages
048:                        .BSP_3224_ONEEXPIRES_TIMESTAMP());
049:                throw new XWSSecurityRuntimeException(LogStringsMessages
050:                        .BSP_3224_ONEEXPIRES_TIMESTAMP());
051:            }
052:
053:            /**
054:             * 
055:             * @param elementName 
056:             */
057:            public final static void log_bsp_3222(String elementName) {
058:                log
059:                        .log(
060:                                Level.SEVERE,
061:                                LogStringsMessages
062:                                        .BSP_3222_ELEMENT_NOT_ALLOWED_UNDER_TIMESTMP(elementName));
063:                throw new XWSSecurityRuntimeException(
064:                        LogStringsMessages
065:                                .BSP_3222_ELEMENT_NOT_ALLOWED_UNDER_TIMESTMP(elementName));
066:            }
067:
068:            /**
069:             * 
070:             */
071:            public final static void log_bsp_3221() {
072:                log.log(Level.SEVERE, LogStringsMessages
073:                        .BSP_3221_CREATED_BEFORE_EXPIRES_TIMESTAMP());
074:                throw new XWSSecurityRuntimeException(LogStringsMessages
075:                        .BSP_3221_CREATED_BEFORE_EXPIRES_TIMESTAMP());
076:            }
077:
078:            /**
079:             * 
080:             * @throws com.sun.xml.wss.XWSSecurityException 
081:             */
082:            public final static void log_bsp_3227() throws XWSSecurityException {
083:                log.log(Level.SEVERE, LogStringsMessages
084:                        .BSP_3227_SINGLE_TIMESTAMP());
085:                throw new XWSSecurityException(LogStringsMessages
086:                        .BSP_3227_SINGLE_TIMESTAMP());
087:            }
088:
089:            /**
090:             * 
091:             */
092:            public final static void log_bsp_3225() {
093:                log.log(Level.SEVERE, LogStringsMessages
094:                        .BSP_3225_CREATED_VALUE_TYPE_TIMESTAMP());
095:                throw new XWSSecurityRuntimeException(LogStringsMessages
096:                        .BSP_3225_CREATED_VALUE_TYPE_TIMESTAMP());
097:            }
098:
099:            /**
100:             * 
101:             */
102:            public final static void log_bsp_3226() {
103:                log.log(Level.SEVERE, LogStringsMessages
104:                        .BSP_3226_EXPIRES_VALUE_TYPE_TIMESTAMP());
105:                throw new XWSSecurityRuntimeException(LogStringsMessages
106:                        .BSP_3226_EXPIRES_VALUE_TYPE_TIMESTAMP());
107:            }
108:
109:            /**
110:             * 
111:             * @throws com.sun.xml.wss.XWSSecurityException 
112:             */
113:            public final static void log_bsp_3104() throws XWSSecurityException {
114:                log.log(Level.WARNING, LogStringsMessages
115:                        .BSP_3104_ENVELOPED_SIGNATURE_DISCORAGED());
116:            }
117:
118:            /**
119:             * 
120:             * @param value 
121:             */
122:            public void setTimeStampFound(boolean value) {
123:                this .timeStampFound = value;
124:            }
125:
126:            /**
127:             * 
128:             * @return 
129:             */
130:            public boolean isTimeStampFound() {
131:                return timeStampFound;
132:            }
133:
134:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.