001: /* Copyright 2005 The JA-SIG Collaborative. All rights reserved.
002: * See license distributed with this file and
003: * available online at http://www.uportal.org/license.html
004: */
005: package org.jasig.portal.channels.cusermanager;
006:
007: /**
008: * @author smb1@cornell.edu
009: * @version $Revision: 42285 $ $Date: 2007-08-06 09:56:27 -0700 (Mon, 06 Aug 2007) $
010: */
011: public interface Constants {
012:
013: /** Value = "3.0" */
014: public static final String VERSION = "3.0";
015:
016: /** Value = "already exists" */
017: public static final String ALREADY_EXISTS = "already exists";
018:
019: /** Value = "org.jasig.portal.channels.cusermanager.CUserManager" */
020: public static final String PERMISSION_OWNERTOKEN = "org.jasig.portal.channels.cusermanager.CUserManager";
021:
022: /** Value = "CUserManager" */
023: public static final String PERMISSION_OWNERNAME = "CUserManager";
024:
025: /** Value = "Account Manager" */
026: public static final String PERMISSION_OWNERTARGET = "Account Manager";
027:
028: /** Value = "acctmgr" */
029: public static final String PERMISSION_MNGRRIGHT = "acctmgr";
030:
031: /** Value = "Manage User Accounts" */
032: public static final String PERMISSION_MNGRRIGHTDESC = "Manage User Accounts";
033:
034: /** Value = "pwdchng" */
035: public static final String PERMISSION_PWDCHNGRIGHT = "pwdchng";
036:
037: /** Value = "Change Current Password" */
038: public static final String PERMISSION_PWDCHNGRIGHTDESC = "Change Current Password";
039:
040: /** Value = "org.jasig.portal.channels.cusermanager.provider.DefaultDataHandlerImpl" */
041: public static final String DEFAULTDATAHANDLER = "org.jasig.portal.channels.cusermanager.provider.DefaultDataHandlerImpl";
042:
043: /** Value = "IDataHandler.class" */
044: public static final String CHNPARAMDATAHANDLER = "IDataHandler.class";
045:
046: /** Value = "act.as.user.password.change.only" */
047: public static final String CHNPARAMNOTMGR = "act.as.user.password.change.only";
048:
049: /** Value = "(MD5)" */
050: public static final String DEFAULTMD5PREFIX = "(MD5)";
051:
052: /** Value = "default" */
053: public static final String DEFAULTSTYLESHEET = "default";
054:
055: /** Value = "baseActionURL" */
056: public static final String BASEACTION = "baseActionURL";
057:
058: /** Value = "CUserManager.ssl" */
059: public static final String SSLFILE = "CUserManager.ssl";
060:
061: /**
062: * Any messages to be displayed to the user are sent
063: * to the stylesheets as this named variable.
064: * Value = "message"
065: */
066: public static final String DISPLAYMESSAGE = "message";
067:
068: /** Value = "mode" */
069: public static final String MODE = "mode";
070:
071: /** Value = "display" */
072: public static final String MODEDISPLAY = "display";
073:
074: /** Value = "pwdchng" */
075: public static final String MODEPWDCHNG = "pwdchng";
076:
077: /** Value = "search" */
078: public static final String MODESEARCH = "search";
079:
080: /** Value = "choose" */
081: public static final String MODECHOOSE = "choose";
082:
083: /** Value = "add" */
084: public static final String MODEADD = "add";
085:
086: /** Value = "about" */
087: public static final String MODEABOUT = "about";
088:
089: /** Value = "help" */
090: public static final String MODEHELP = "help";
091:
092: /** Value = "User-Pwd-Only-Mode" */
093: public static final String MODEUSRPWDCHNG = "User-Pwd-Only-Mode";
094:
095: /** Value = "pswd" */
096: public static final String PWDFIELD = "pswd";
097:
098: /** Value = "encrptd_pswd" */
099: public static final String ENCRYPTPWDFIELD = "encrptd_pswd";
100:
101: /** Value = "user_name" */
102: public static final String UNFIELD = "user_name";
103:
104: /** Value = "username" */
105: public static final String ATTRUSERNAME = "username";
106:
107: /** Value = "*LCK*" */
108: public static final String ACCOUNTLOCK = "*LCK*";
109:
110: /** Value = "Acc.Is.Locked" */
111: public static final String ACCOUNTLOCKACKNOWLEDGE = "Acc.Is.Locked";
112:
113: /** Value = "form_action" */
114: public static final String FORMACTION = "form_action";
115:
116: /** Value = "chosen" */
117: public static final String FORMCHOSEN = "chosen";
118:
119: /** Value = "search-str" */
120: public static final String FORMSRCHSTR = "search-str";
121:
122: /** Value = "proposed-password" */
123: public static final String FORMNEWPWD = "proposed-password";
124:
125: /** Value = "NULLIFY.THIS.USER" */
126: public static final String NULLIFYUSER = "NULLIFY.THIS.USER";
127:
128: /** Value = "User \"{0}\" can perform no action within this channel!" */
129: public static final String ERRMSG_NORIGHTS = "User \"{0}\" can perform no action within this channel!";
130:
131: /** Value = "Password NOT changed!\r\nCurrent Password does
132: not match stored password."
133: */
134: public static final String ERRMSG_PWDNOTMATACHED = "Password NOT changed!\r\nCurrent Password does "
135: + " not match stored password.";
136:
137: /** Value = "Username \"{0}\" already exists!" */
138: public static final String USER_EXISTS = "Username \"{0}\" "
139: + Constants.ALREADY_EXISTS + "!";
140:
141: /** Value = "Saved." */
142: public static final String MSG_SAVED = "Saved.";
143:
144: /** Value = "Password changed." */
145: public static final String MSG_PWD_SAVED = "Password changed.";
146:
147: }// eoi
|