Lines Matching defs:attributes

106      * Returns an unmodifiable collection of the names of the required account attributes.
107 * All attributes must be set when creating new accounts. The standard set of possible
108 * attributes are as follows: <ul>
124 * Typically, servers require no attributes when creating new accounts, or just
127 * @return the required account attributes.
134 Map<String, String> attributes = info.getAttributes();
135 if (attributes != null) {
136 return Collections.unmodifiableSet(attributes.keySet());
187 * require a number of extra account attributes such as an email address and phone
189 * attributes with blank values, which may or may not be accepted by the server.
190 * Therefore, it's recommended to check the required account attributes and to let
201 // Create a map for all the required attributes, but give them blank values.
202 Map<String, String> attributes = new HashMap<String, String>();
204 attributes.put(attributeName, "");
206 createAccount(username, password, attributes);
210 * Creates a new account using the specified username, password and account attributes.
211 * The attributes Map must contain only String name/value pairs and must also have values
212 * for all required attributes.
216 * @param attributes the account attributes.
220 public void createAccount(String username, String password, Map<String, String> attributes)
229 attributes.put("username",username);
230 attributes.put("password",password);
231 reg.setAttributes(attributes);
293 Map<String, String> attributes = new HashMap<String, String>();
295 attributes.put("remove", "");
296 reg.setAttributes(attributes);