Searched refs:username (Results 1 - 25 of 84) sorted by relevance

1234

/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/login/
H A DDigestCredentials.java51 private String username = ""; field in class:DigestCredentials
54 public DigestCredentials(String realmName, String username,DigestAlgorithmParameter [] params) { argument
56 this.username = username;
65 return this.username;
H A DPasswordLoginModule.java74 * @param username Name of authenticated user.
83 public final void commitAuthentication(String username, argument
96 * @param username Name of authenticated user.
104 public final void commitAuthentication(String username, argument
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/realm/
H A DJAASCallbackHandler.java68 * used to negotiate delivery of the username and credentials that were
86 * @param username Username to be authenticated with
89 public JAASCallbackHandler(JAASRealm realm, String username, argument
94 this.username = username;
116 * The username to be authenticated with.
118 protected String username = null; field in class:JAASCallbackHandler
142 realm.log("Returning username " + username);
143 ((NameCallback) callbacks[i]).setName(username);
[all...]
H A DJAASRealm.java275 * Return the Principal associated with the specified username and
283 * @param username Username of the Principal to look up
285 * authenticating this username
287 public Principal authenticate(String username, char[] credentials) { argument
295 log.fine("Authenticating " + appName + " " + username);
303 (appName, new JAASCallbackHandler(this, username,
310 sm.getString("jaasRealm.loginException", username), e);
318 log.fine("Login context created " + username);
327 log.fine(sm.getString("jaasRealm.failedLogin", username));
332 log.fine(sm.getString("jaasRealm.accountExpired", username));
393 getPassword(String username) argument
403 getPrincipal(String username) argument
417 createPrincipal(String username, Subject subject) argument
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/
H A DUsernamePasswordStore.java52 * 2. Different threads that wish to share the username and password information
56 * When set to true, scenario #1 above applies and the username/password
58 * When set to false, scenario #2 above applies and the username/password
73 private final String username; field in class:UsernamePasswordStore
80 * @param username
83 private UsernamePasswordStore(String username, char[] password) { argument
88 this.username = username;
111 * This method sets the username and password as thread-local or global variable
113 * @param username
116 set(String username, char[] password) argument
[all...]
H A DLoginContext.java94 * Login method to login username and password
97 final String username = user;
103 username);
118 public void login(String username, byte[] authData) argument
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/jauth/callback/
H A DPasswordValidationCallback.java57 * @param username the username to authenticate
61 public PasswordValidationCallback(String username, char[] password) { argument
62 super(null, username, password);
/glassfish-3.1.2/security/javax.security.auth.message/src/main/java/javax/security/auth/message/callback/
H A DPasswordValidationCallback.java59 private String username; field in class:PasswordValidationCallback
68 * @param username The username to authenticate
73 Subject subject, String username, char[] password) {
75 this.username = username;
91 * Get the username.
93 * @return The username.
96 return username;
72 PasswordValidationCallback( Subject subject, String username, char[] password) argument
/glassfish-3.1.2/common/container-common/src/main/java/com/sun/enterprise/container/common/impl/mail/
H A DMailSessionAuthenticator.java65 String username = getDefaultUserName();
66 if(password != null && username != null) {
67 authenticator = new PasswordAuthentication(username, password);
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/realm/
H A DDigestRealm.java51 public boolean validate(String username,DigestAlgorithmParameter params[]); argument
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/login/common/
H A DPasswordCredential.java52 private String username; field in class:PasswordCredential
69 this.username = user;
76 if (this.username == null ) { this.username = ""; }
105 * Return the username.
109 return username;
146 if(pc.getUser().equals(username) &&
161 return username.hashCode() + password.hashCode() + realm.hashCode();
170 s = s + " Username=" + username;
H A DServerLoginCallbackHandler.java63 private String username = null; field in class:ServerLoginCallbackHandler
67 public ServerLoginCallbackHandler(String username, String password) { argument
68 this.username = username;
72 public ServerLoginCallbackHandler(String username, String password, String moduleID) { argument
73 this.username = username;
82 username = user;
106 nme.setName(username);
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/realm/solaris/
H A DSolarisRealm.java148 * @param username Name of the user in this realm whose group listing
155 public Enumeration getGroupNames (String username) argument
158 Vector v = (Vector)groupCache.get(username);
160 v = loadGroupNames(username);
173 private void setGroupNames(String username, String[] groups) argument
188 groupCache.put(username, v);
196 * @param username User to authenticate.
201 public String[] authenticate(String username, char[] password) argument
203 String[] grps = nativeAuthenticate(username, new String(password));
207 setGroupNames(username, grp
220 loadGroupNames(String username) argument
[all...]
/glassfish-3.1.2/security/webintegration/src/main/java/com/sun/web/security/
H A DLoginProbeProvider.java55 public void loginSuccessfulEvent(@ProbeParam("username") String username){} argument
58 public void loginFailedEvent(@ProbeParam("username") String username){} argument
/glassfish-3.1.2/security/core/src/main/java/com/iplanet/ias/security/auth/login/
H A DPasswordLoginModule.java72 public final AuthenticationStatus commitAuthentication(String username, argument
77 return commitAuthentication(username, password.toCharArray(), theRealm, groups);
82 public final AuthenticationStatus commitAuthentication(String username, argument
92 new AuthenticationStatusImpl(username, authMethod, realm, status);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/authenticator/
H A DSingleSignOnEntry.java85 protected String username = null; field in class:SingleSignOnEntry
92 String username, String realmName) {
97 this.username = username;
184 * Gets the username provided by the user as part of the authentication
188 return username;
91 SingleSignOnEntry(String id, Principal principal, String authType, String username, String realmName) argument
H A DBasicAuthenticator.java148 String username = parseUsername(authorization);
150 principal = context.getRealm().authenticate(username, password);
153 username, password);
167 String username = parseUsername(authorization);
169 principal = context.getRealm().authenticate(username, password);
172 username, password);
202 * Parse the username from the specified authorization credentials.
221 String username = unencoded.substring(0, colon);
223 return (username);
248 // String username
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/admin/cli/
H A DSecureAdminHelperImpl.java122 * Makes sure the username is a valid admin username and that the password
124 * associated with the username and the password associated with the
127 * @param username user-provided username
131 public void validateInternalUsernameAndPasswordAlias(String username, String passwordAlias) { argument
133 validateUser(username);
140 private void validateUser(final String username) throws BadRealmException, NoSuchRealmException { argument
143 FileRealmUser fru = (FileRealmUser)fr.getUser(username);
150 throw new RuntimeException(Strings.get("notAdminUser", username));
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/common/iiop/security/
H A DGSSUPName.java66 private String username; // username field in class:GSSUPName
70 public GSSUPName(String username, String realm) argument
73 this.username = username;
107 // Deterimine the starting indices of the username and realm name
113 /* scoped-username is of the form:
114 * scoped-username ::== name_value
120 /* name_value is not null i.e. scoped-username is of the form:
121 * scoped-username
[all...]
/glassfish-3.1.2/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/io/
H A DWindowsRemoteFileSystem.java66 public WindowsRemoteFileSystem(String hostname, String username, String password) { argument
68 authorization = new NtlmPasswordAuthentication(host, username, password);
/glassfish-3.1.2/deployment/javax.enterprise.deploy/src/main/java/javax/enterprise/deploy/spi/factories/
H A DDeploymentFactory.java86 * @param username An optional username (may be <tt>null</tt> if
96 String username, String password)
95 getDeploymentManager(String uri, String username, String password) argument
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/
H A DSecureAdminHelper.java66 * Makes sure that the specified username is an admin user and that the
68 * method should not make sure that the username and the password pointed
70 * check is done by the normal authorization logic when the username and
73 * @param username
75 * @throws Exception if eiher the username or the password alias is not valid
77 public void validateInternalUsernameAndPasswordAlias(String username, String passwordAlias); argument
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/ejb/
H A DTransactionHelperImpl.java204 * @param username the resource username. If null, Connection is requested
205 * without username and password validation.
206 * @param password the password for the resource username.
210 public java.sql.Connection getConnection(Object resource, String username, argument
215 if (username == null) {
218 rc = ds.getConnection(username, password);
228 * @param username the resource username. If null, Connection is requested
229 * without username an
234 getNonTransactionalConnection( Object resource, String username, String password) argument
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DMailConfiguration.java62 private String username = "";
86 private static String DEF_VAL_FROM = "username@host";
113 private String username = DEF_VAL_USER; field in class:MailConfiguration
126 * This constructs the mail configuration based on the username and
128 * @param the username
132 public MailConfiguration(String username, String mailFrom) { argument
133 this.username = username;
143 * Construct a specification of mail configuration with the given username,
145 * @param the username
149 MailConfiguration(String username, String mailFrom, String mailHost) argument
[all...]
/glassfish-3.1.2/security/ejb.security/src/main/java/com/sun/enterprise/iiop/security/
H A DGSSUPToken.java45 * the username, password mechanism
67 * GSSUPToken Represents the on the wire username/password credential on the
98 /* PasswordCredential that contains the username, password and realm */
105 * @param pwdcred the Password credential, populated with username/password
135 byte[] name_utf8 = {}; // username in UTF8 format
145 // if username is of type user@sun.com, realm - foo
148 // if username is already of the type user\\@foo, dont do anything
216 byte[] name_utf8 = null; // username in UTF8 format
219 String username = "";
249 name_utf8 = inctxToken.username;
[all...]

Completed in 77 milliseconds

1234