Source Code Cross Referenced for DSAMEConstants.java in  » Portal » Open-Portal » com » sun » ssoadapter » config » 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 » Portal » Open Portal » com.sun.ssoadapter.config 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /** 
002:         * $Id: DSAMEConstants.java,v 1.4 2005/04/11 17:40:36 dpolla Exp $ 
003:         * Copyright 2002 Sun Microsystems, Inc. Allrights reserved. Use of 
004:         * this product is subjectto license terms. Federal Acquisitions: 
005:         * Commercial Software -- Government Users Subject to Standard License 
006:         * Terms and Conditions. 
007:         * 
008:         * Sun, Sun Microsystems, the Sun logo, and Sun ONE are trademarks or 
009:         * registered trademarks of Sun Microsystems,Inc. in the United States 
010:         * and other countries. 
011:         */package com.sun.ssoadapter.config;
012:
013:        public interface DSAMEConstants {
014:            //
015:            // default version for our services
016:            //
017:            public static String VERSION = "1.0";
018:
019:            //
020:            // Possible Scopes: The SchemaType is an object and we have to use
021:            // its .equals() method to check scope - perf problem.
022:            // Hence we use integers to represent them. Reserve 0-2 for future use.
023:            //
024:
025:            public static final int UNKNOWN_SCOPE = -1;
026:
027:            public static final int UNKNOWN_SERVICE = 3;
028:            public static final int UNKNOWN_ATTRIBUTE = 4;
029:
030:            public static final int GLOBAL = 5;
031:            public static final int ORGANIZATION = 6;
032:            public static final int INSTANCE = 7;
033:            public static final int DYNAMIC = 8;
034:            public static final int USER = 9;
035:            public static final int POLICY = 10;
036:
037:            //
038:            // For debug: the positions == their values
039:            //
040:            public static final String scopeArray[] = { "", "", "",
041:                    "UNKNOWN_SERVICE", "UNKNOWN_ATTRIBUTE", "GLOBAL",
042:                    "ORGANIZATION", "INSTANCE", "DYNAMIC", "USER", "POLICY" };
043:
044:            //
045:            // Client type string Separator
046:            //
047:            public static final String SEPARATOR = "|";
048:
049:            //
050:            // Possible Types - (we are interested in)
051:            // Map: AttributeSchema.Type.LIST & AttributeSchema.Type.SINGLE
052:            //
053:
054:            public static final int UNKNOWN_TYPE = -1;
055:
056:            public static final int SINGLE = 1;
057:            public static final int SINGLE_CHOICE = 2;
058:            public static final int LIST = 3;
059:            public static final int MULTIPLE_CHOICE = 4;
060:            public static final int SIGNATURE = 5;
061:            public static final int VALIDATOR = 6;
062:
063:            public static final String DEFAULT_CLIENT_TYPE = "default";
064:
065:            public static final String DEFAULT_TYPE = "default" + SEPARATOR;
066:            public static final String GENERIC_HTML = "genericHTML" + SEPARATOR;
067:            public static final String CLIENT_TYPE = "clientType";
068:
069:            //
070:            // Used to check if the values are client aware
071:            //
072:            public static final int CONTAINS_CLIENT = 1;
073:            public static final int CONTAINS_OTHER_CLIENTS = 2;
074:            public static final int CONTAINS_DEFAULT = 3;
075:            public static final int NOT_CLIENTAWARE = 4;
076:
077:            //
078:            // For debug: the positions == their values
079:            //
080:            public static final String parseTypeArray[] = { "",
081:                    "CONTAINS_CLIENT", "CONTAINS_OTHER_CLIENTS",
082:                    "CONTAINS_DEFAULT", "NOT_CLIENTAWARE" };
083:
084:            //
085:            // Message in Exceptions
086:            //
087:            public static final String cannotSetMultiInSingle = "Cannot set multi-values in attribute defined as SINGLE. ";
088:
089:            public static final String cannotForceSingle = ":Cannot forceClientAwareness on an attribute defined as SINGLE.";
090:
091:            //
092:            // Used to return parsed values
093:            //
094:            public static final String ORIG_SET = "originalSet";
095:            public static final String DEFAULT_SET = "defaultSet";
096:            public static final String CLIENT_SET = "clientSet";
097:            public static final String OTHER_CLIENT_SET = "otherClientSet";
098:            public static final String NOT_AWARE_SET = "notAwareSet";
099:
100:            //
101:            // debug file name
102:            //
103:            public static final String DEBUG_FILENAME = "SAALContext";
104:
105:            //
106:            // ClientType Property strings
107:            //
108:            public static final String CONTENTTYPE = "contentType";
109:
110:            public static final String FILEPATH = "filePath";
111:
112:            public static final String SERVICENAME = "serviceName";
113:
114:            //
115:            // Used by ConfigContext
116:            //
117:
118:            //
119:            // session-less object names
120:            //
121:
122:            public static final String MAP_PROPERTIES = "SAALContext";
123:
124:            public static final String CLIENTAWARE_APP_CONTEXT_CLASSNAME = "clientAwareAppContextClassName";
125:
126:            public static final String TEMPLATE_BASEDIR = "templateBaseDir";
127:
128:            public static final String SERVICE_APP_CONTEXT_CLASSNAME = "serviceAppContextClassName";
129:
130:            public static final String DEBUG_CONTEXT_CLASSNAME = "debugContextClassName";
131:
132:            public static final String SESSION_APP_CONTEXT_CLASSNAME = "sessionAppContextClassName";
133:
134:            public static final String CLIENT_CONTEXT_CLASSNAME = "clientContextClassName";
135:
136:            public static final String FILELOOKUP_CONTEXT_CLASSNAME = "fileLookupContextClassName";
137:
138:            //
139:            // session object names
140:            //
141:
142:            public static final String CLIENTAWARE_USER_CONTEXT_CLASSNAME = "clientAwareUserContextClassName";
143:
144:            public static final String CLIENTAWARE_AUTHLESS_USER_CONTEXT_CLASSNAME = "clientAwareAuthlessUserContextClassName";
145:
146:            public static final String SERVICE_USER_CONTEXT_CLASSNAME = "serviceUserContextClassName";
147:
148:            public static final String SESSION_USER_CONTEXT_CLASSNAME = "sessionUserContextClassName";
149:
150:            //
151:            // Service Names
152:            //
153:
154:            public static final String SUN_SSOADAPTER_SERVICE = "SunSSOAdapterService";
155:
156:            public static final String ATTR_ENABLE_AUTHLESS_SUPPORT = "sunSSOAdapterEnableAuthlessSupport";
157:
158:            public static final String ATTR_AUTHORIZEDAUTHLESSUIDS = "sunSSOAdapterAuthorizedAuthlessUIDs";
159:
160:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.