Searched refs:userName (Results 1 - 25 of 46) sorted by relevance

12

/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/login/
H A DAssertedCredentials.java51 private String userName = ""; field in class:AssertedCredentials
54 public AssertedCredentials(String realmName,String userName) { argument
56 this.userName = userName;
59 public AssertedCredentials(String realmName,String userName,Object info) { argument
61 this.userName = userName;
70 return userName;
/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/spi/security/
H A DPasswordCredential.java58 private String userName; field in class:PasswordCredential
69 * @param userName the user name
73 PasswordCredential(String userName, char[] password) { argument
74 this.userName = userName;
85 return userName;
142 if (!(userName.equals(pc.userName)))
162 String s = userName;
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/authentication/
H A DEisBackendPrincipal.java47 * The backend principal consist of the userName and password
55 private String userName; field in class:EisBackendPrincipal
67 * @param userName UserName
70 public EisBackendPrincipal(String userName, String password) { argument
71 this.userName = userName;
77 * @param userName UserName
79 public void setUserName(String userName) { argument
80 this.userName = userName;
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/digest/impl/
H A DKeyDigestAlgoParamImpl.java52 private String userName; field in class:KeyDigestAlgoParamImpl
59 this.userName = user;
64 this.userName = user;
70 return userName;
/glassfish-3.1.2/deployment/client/src/main/java/org/glassfish/deployment/client/
H A DServerConnectionIdentifier.java69 * Holds value of property userName.
71 private String userName; field in class:ServerConnectionIdentifier
94 String userName,
100 this.userName = userName;
138 * Getter for property userName.
139 * @return Value of property userName.
142 return this.userName;
146 * Setter for property userName.
147 * @param userName Ne
91 ServerConnectionIdentifier( String hostName, int hostPort, String userName, String password, boolean secure ) argument
149 setUserName(String userName) argument
[all...]
/glassfish-3.1.2/web/web-ha/src/main/java/org/glassfish/web/ha/authenticator/
H A DHASingleSignOnEntryMetadata.java59 protected String userName = null; field in class:HASingleSignOnEntryMetadata
74 String userName, String realmName,
80 this.userName = userName;;
100 return userName;
141 ", userName='" + userName + '\'' +
73 HASingleSignOnEntryMetadata(String id, byte[] principalBytes, String authType, String userName, String realmName, long lastAccessTime, long maxIdleTime, long version) argument
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/cli/
H A DIsAnonymousUserEnabledCommand.java73 String userName = su.getAnonymousUser(habitat);
78 ep.put("anonymousUserEnabled", userName != null);
81 if (userName == null) {
84 ep.put("anonymousUserName", userName);
85 report.setMessage("The anonymous user is enabled: " + userName);
H A DGetGroupNamesCommand.java100 String userName; field in class:GetGroupNamesCommand
143 String[] list = getGroupNames(realmName, userName);
166 private String[] getGroupNames(String realmName, String userName) argument
174 return getGroupNames(r, userName);
186 return getGroupNames(r, userName);
194 private String[] getGroupNames(Realm r, String userName) argument
197 Enumeration<String> groupNames = r.getGroupNames(userName);
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/common/
H A DClientSecurityContext.java86 public ClientSecurityContext(String userName, argument
89 this.initiator = new PrincipalImpl(userName);
212 public AppServSecurityContext newInstance(String userName, Subject subject, String realm) { argument
214 return new ClientSecurityContext(userName, subject);
217 public AppServSecurityContext newInstance(String userName, Subject subject) { argument
218 return new ClientSecurityContext(userName, subject);
/glassfish-3.1.2/common/glassfish-api/src/main/java/com/sun/appserv/jdbc/
H A DDataSource.java103 public Connection getNonTxConnection( String userName, String password ) argument
/glassfish-3.1.2/web/web-ha/src/main/java/org/glassfish/web/ha/session/management/
H A DHASession.java81 * @param userName
83 public void setUserName(String userName); argument
H A DBaseHASession.java72 protected String userName=""; field in class:BaseHASession
131 return userName;
138 userName = value;
158 userName = "";
199 userName = (String) stream.readObject();
224 stream.writeObject(userName);
260 sb.append(" userName: " + this.getUserName());
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/security/integration/
H A DAppServSecurityContext.java77 public AppServSecurityContext newInstance(String userName, Subject subject, String realm); argument
82 public AppServSecurityContext newInstance(String userName, Subject subject); argument
/glassfish-3.1.2/admin/rest/src/test/java/org/glassfish/admin/rest/
H A DAuthRealmTest.java52 public static final String URL_LIST_GROUP_NAMES = "/domain/configs/config/server-config/security-service/auth-realm/admin-realm/list-group-names?userName=admin";
79 final String userName = "user" + generateRandomString();
81 put ("id", userName);
89 assertTrue(values.contains(userName));
95 assertFalse(values.contains(userName));
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/impl/
H A DConnectionFactoryImpl.java71 private String userName = null; field in class:ConnectionFactoryImpl
104 * @param userName database user
110 String userName,
117 this.userName = userName;
125 * @param userName database user
133 String userName,
142 this.userName = userName;
223 * @param userName databas
108 ConnectionFactoryImpl( String URL, String userName, String password, String driverName ) argument
131 ConnectionFactoryImpl( String URL, String userName, String password, String driverName, int minPool, int maxPool ) argument
225 setUserName(String userName) argument
[all...]
H A DPersistenceManagerFactoryImpl.java71 private String userName = null; field in class:PersistenceManagerFactoryImpl
128 * @param userName database user
134 String userName,
141 this.userName = userName;
149 * @param userName database user
151 public void setConnectionUserName (String userName) { argument
153 this.userName = userName;
165 return userName;
132 PersistenceManagerFactoryImpl( String URL, String userName, String password, String driverName) argument
[all...]
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/connection/
H A DConnectionManager.java254 private String userName; field in class:ConnectionManager
807 this.userName = null;
877 * @param userName the default user name for database connections.
882 String userName) throws ClassNotFoundException, SQLException {
887 this.setUserName(userName);
900 * @param userName the default user name for database connections.
909 String userName,
916 this.setUserName(userName);
935 * @param userName the default user name for database connections.
948 String userName,
881 ConnectionManager(String driverName, String url, String userName) argument
905 ConnectionManager( String driverName, String url, String userName, String password ) argument
944 ConnectionManager( String driverName, String url, String userName, String password, int minPool, int maxPool ) argument
1000 ConnectionManager( String driverName, String url, String userName, String password, int minPool, int maxPool, int msWait ) argument
1058 ConnectionManager( String driverName, String url, String userName, String password, int minPool, int maxPool, int msWait, int msInterval ) argument
1205 getConnection( String userName, String password ) argument
1290 getConnection( String url, String userName, String password ) argument
1618 setUserName(String userName) argument
[all...]
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/util/
H A DSecurityMapUtils.java140 String userName = backendPrincipal.getUserName();
142 return new ResourcePrincipal(userName, password);
146 String userName = principal.getUserName();
148 return new EisBackendPrincipal(userName, password);
/glassfish-3.1.2/admingui/devtests/src/test/java/org/glassfish/admingui/devtests/
H A DSecurityTest.java243 final String userName = "user" + generateRandomNumber();
251 addUserToRealm(configName, realmName, userName, "password");
254 deleteUserFromRealm(configName, realmName, userName);
305 public void addUserToRealm(String configName, String realmName, String userName, String password) { argument
313 setFieldValue("propertyForm:propertySheet:propertSectionTextField:userIdProp:UserId", userName);
317 assertTrue(isTextPresent(userName));
321 public void deleteUserFromRealm(String configName, String realmName, String userName) { argument
327 deleteRow("propertyForm:users:topActionsGroup1:button1", "propertyForm:users", userName);
/glassfish-3.1.2/security/webintegration/src/main/java/com/sun/web/security/
H A DLoginStatsProvider.java75 public void loginSuccessfulEvent(@ProbeParam("username")String userName){ argument
80 public void loginFailedEvent(@ProbeParam("username")String userName){ argument
/glassfish-3.1.2/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/launcher/
H A DSSHLauncher.java112 private String userName; field in class:SSHLauncher
166 String userName = null;
168 userName = sshAuth.getUserName();
179 init(userName, this.host, port, this.rawPassword, keyFile,
184 public void init(String userName, String host, int port, String password, String keyFile, String keyPassPhrase, Logger logger) { argument
192 this.userName = SSHUtil.checkString(userName) == null ?
193 System.getProperty("user.name") : userName;
245 connection.authenticateWithPublicKey(userName,
266 isAuthenticated = connection.authenticateWithPassword(userName, passwor
473 validate(String host, int port, String userName, String password, String keyFile, String keyPassPhrase, String installDir, String landmarkPath, Logger logger) argument
509 validate(String host, int port, String userName, String password, String keyFile, String keyPassPhrase, String installDir, Logger logger) argument
[all...]
/glassfish-3.1.2/persistence/cmp/internal-api/src/main/java/com/sun/jdo/api/persistence/support/
H A DConnectionFactory.java92 * @param userName database user
94 void setUserName (String userName); argument
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/
H A DSecurityContext.java116 public SecurityContext(String userName, Subject subject) { argument
124 this.initiator = new PrincipalImpl(userName);
183 public SecurityContext(String userName, Subject subject, String realm) { argument
191 this.initiator = PrincipalGroupFactory.getPrincipalInstance(userName, realm);
400 public AppServSecurityContext newInstance(String userName, Subject subject, String realm) { argument
404 return new SecurityContext(userName, subject, realm);
407 public AppServSecurityContext newInstance(String userName, Subject subject) { argument
411 return new SecurityContext(userName, subject);
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/cli/
H A DChangeAdminPassword.java104 private String userName; field in class:ChangeAdminPassword
213 Enumeration en = fr.getGroupNames(userName);
220 en = fr.getGroupNames(userName);
224 fr.updateUser(userName,userName, newpassword.toCharArray(), groups);
231 "Password change failed for user named {0}", userName) +
H A DDeleteFileUser.java105 private String userName; field in class:DeleteFileUser
217 fr.removeUser(userName);
225 userName, authRealmName) + " " + e.getLocalizedMessage());
240 userName, authRealmName) + " " + e.getLocalizedMessage());
251 userName, authRealmName) + " " + e.getLocalizedMessage());

Completed in 53 milliseconds

12