Searched defs:login (Results 1 - 25 of 37) sorted by relevance

12

/glassfish-3.1.2/tests/osgi-javaee/osgi-web/hybridapp1/src/main/java/sahoo/hybridapp/example1/
H A DUserAuthService.java48 boolean login(String name, String password); method in interface:UserAuthService
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/login/
H A DDistinguishedPrincipalCredential.java41 package com.sun.enterprise.security.auth.login;
H A DFileLoginModule.java41 package com.sun.enterprise.security.auth.login;
47 import javax.security.auth.login.*;
50 import javax.security.auth.login.LoginException;
53 * File realm login module.
55 * <P>Provides a file-based implementation of a password login module.
58 * @see com.sun.enterprise.security.auth.login.PasswordLoginModule
68 * @throws LoginException If login fails (JAAS login() behavior).
88 _logger.log(Level.FINE, "File login succeeded for: " + _username);
H A DJDBCDigestLoginModule.java41 package com.sun.enterprise.security.auth.login;
H A DJDBCLoginModule.java41 package com.sun.enterprise.security.auth.login;
45 import com.sun.enterprise.security.auth.login.common.LoginException;
51 * This class implement a JDBC Login module for Glassfish. The work is derivated from Sun's sample JDBC login module.
60 * @throws LoginException If login fails (JAAS login() behavior).
84 _logger.finest("JDBC login succeeded for: " + _username
H A DLDAPLoginModule.java41 package com.sun.enterprise.security.auth.login;
44 import javax.security.auth.login.*;
52 * configuration parameters for the iAS LDAP login support.
55 * an LDAP directory. Currently this login module only supports one mode,
62 * in place of %s). If no entries match this search, login fails
69 * password. If this fails, login is considered to have failed and
99 // ldap may grant login on empty password!
H A DSolarisLoginModule.java41 package com.sun.enterprise.security.auth.login;
51 import javax.security.auth.login.*;
61 import com.sun.enterprise.security.auth.login.common.PasswordCredential;
62 import javax.security.auth.login.LoginException;
65 * Solaris realm login module.
70 * @see com.sun.enterprise.security.auth.login.PasswordLoginModule
80 * @throws LoginException If login fails (JAAS login() behavior).
107 _logger.finest("Solaris login succeeded for: " + _username);
H A DClientPasswordLoginModule.java41 package com.sun.enterprise.security.auth.login;
46 import javax.security.auth.login.*;
48 import com.sun.enterprise.security.auth.login.common.PasswordCredential;
107 * @param options options specified in the login
134 public boolean login() throws LoginException { method in class:ClientPasswordLoginModule
138 String failure = localStrings.getLocalString("login.nocallback","Error: no CallbackHandler available to garner authentication information from the user");
171 NameCallback nameCB = new NameCallback(localStrings.getLocalString("login.username", "ClientPasswordModule username"));
174 nameCB = new NameCallback(localStrings.getLocalString("login.username", "ClientPasswordModule username"),defaultUname);
177 callbacks[1] = new PasswordCallback(localStrings.getLocalString("login.password", "ClientPasswordModule password: "), false);
183 String fail = localStrings.getLocalString("login
[all...]
H A DDigestLoginModule.java41 package com.sun.enterprise.security.auth.login;
50 import javax.security.auth.login.LoginException;
97 public final boolean login() throws LoginException { method in class:DigestLoginModule
165 // login succeeded but overall authentication failed
H A DAssertedCredentials.java41 package com.sun.enterprise.security.auth.login;
H A DDigestCredentials.java41 package com.sun.enterprise.security.auth.login;
H A DLoginCallbackHandler.java41 package com.sun.enterprise.security.auth.login;
89 * @param the callback object instances supported by the login module.
95 String user = localStrings.getLocalString("login.user", "user");
H A DPamLoginModule.java41 package com.sun.enterprise.security.auth.login;
47 import javax.security.auth.login.LoginException;
71 _logger.log(Level.FINE, "PAM login succeeded for: " + _username);
H A DPasswordLoginModule.java41 package com.sun.enterprise.security.auth.login;
45 import javax.security.auth.login.LoginException;
48 * Abstract base class for password-based login modules.
H A DClientCertificateLoginModule.java41 package com.sun.enterprise.security.auth.login;
43 import com.sun.enterprise.security.auth.login.common.X509CertificateCredential;
50 import javax.security.auth.login.LoginException;
71 * If set to true in the login Configuration,
124 * @param options options specified in the login
156 public boolean login() throws LoginException { method in class:ClientCertificateLoginModule
174 callbacks[0] = new ChoiceCallback(localStrings.getLocalString("login.certificate", "Choose from list of certificates: "), as, 0, false);
231 * <code>login</code> method), then this method associates a
242 * @return true if this LoginModule's own login and commit
291 * <code>login</cod
[all...]
/glassfish-3.1.2/tests/embedded/maven-plugin/websockets/src/main/webapp/javascripts/
H A Dapplication.js50 $('login-name').focus();
54 $('login-name').style.display = 'none';
55 $('login-button').style.display = 'none';
63 login: function() {
64 name = $F('login-name');
67 $('login-name').focus();
73 $('login-button').disabled = true;
74 $('login-form').style.display = 'none';
81 websocket.send('login:' + name);
122 '#login
[all...]
/glassfish-3.1.2/security/webintegration/src/main/java/com/sun/web/security/
H A DWebProgrammaticLoginImpl.java60 import com.sun.enterprise.security.auth.login.LoginContextDriver;
69 * Internal implementation for servlet programmatic login.
85 * programmatic login for servlets.
89 * identity established by programmatic login to be known to both
97 * <P>Note also that this login does not hook up into SSO.
99 * @param user User name to login.
108 * @returns A Boolean object; true if login succeeded, false otherwise.
110 * @throws Exception on login failure.
113 public Boolean login(String user, char[] password, String realm, method in class:WebProgrammaticLoginImpl
124 // Try to login
[all...]
/glassfish-3.1.2/tests/embedded/maven-plugin/websockets/src/main/java/com/sun/grizzly/samples/websockets/
H A DChatApplication.java65 if (data.startsWith("login:")) {
66 login((ChatWebSocket) socket, frame);
86 private void login(ChatWebSocket socket, DataFrame frame) throws IOException { method in class:ChatApplication
88 WebSocketsServlet.logger.info("ChatApplication.login");
/glassfish-3.1.2/tests/osgi-javaee/osgi-web/hybridapp1/src/main/java/sahoo/hybridapp/example1/impl/
H A DUserAuthServiceEJB.java65 public boolean login(String name, String password) method in class:UserAuthServiceEJB
/glassfish-3.1.2/security/core/src/main/java/com/iplanet/ias/security/auth/login/
H A DPasswordLoginModule.java41 package com.iplanet.ias.security.auth.login;
48 import javax.security.auth.login.LoginException;
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/
H A DLoginContext.java43 import com.sun.enterprise.security.auth.login.common.LoginException;
47 import com.sun.enterprise.security.auth.login.ClientPasswordLoginModule;
48 import com.sun.enterprise.security.auth.login.LoginContextDriver;
55 * The login can be done via the following call:
60 * lc.login("john", "john123");
68 * Ideally the login should be done with the system property -Dj2eelogin.name and -Dj2eelogin.password
90 handler = new com.sun.enterprise.security.auth.login.LoginCallbackHandler(guiAuth);
94 * Login method to login username and password
96 public void login(String user, String pass) throws LoginException{ method in class:LoginContext
118 public void login(Strin method in class:LoginContext
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/login/common/
H A DLoginException.java41 package com.sun.enterprise.security.auth.login.common;
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/common/
H A DProgrammaticLoginInterface.java55 * Attempt to login.
61 * the actual login will not occur until we actually access a resource
62 * requiring a login. And a java.rmi.AccessException with
63 * COBRA NO_PERMISSION will occur when actual login is failed.
66 * programmatic login. If servlet code used this method the established
69 * the servlet-specific version of login instead.
77 * failure of login.
80 Boolean login(final String user, final String password, final String realm, boolean errors) throws Exception; method in interface:ProgrammaticLoginInterface
83 * Attempt to login.
88 * <p>On client side, the actual login wil
103 Boolean login(final String user, final String password); method in interface:ProgrammaticLoginInterface
126 Boolean login(final String user, final String password, final String realm, final HttpServletRequest request, final HttpServletResponse response, boolean errors) throws Exception; method in interface:ProgrammaticLoginInterface
146 Boolean login(final String user, final String password, final HttpServletRequest request, final HttpServletResponse response); method in interface:ProgrammaticLoginInterface
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/web/integration/
H A DWebProgrammaticLogin.java62 * programmatic login for servlets.
66 * identity established by programmatic login to be known to both
74 * <P>Note also that this login does not hook up into SSO.
76 * @param user User name to login.
85 * @returns A Boolean object; true if login succeeded, false otherwise.
87 * @throws Exception on login failure.
90 public Boolean login(String user, char[] password, String realm, method in interface:WebProgrammaticLogin
103 * @returns A Boolean object; true if login succeeded, false otherwise.
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/appserv/management/client/prefs/
H A DLoginInfoStore.java85 * @param login a LoginInfo that needs to be stored
90 public void store(final LoginInfo login) throws StoreException; argument
99 * @param login a LoginInfo that needs to be stored
104 public void store(final LoginInfo login, final boolean overwrite) throws StoreException; argument
124 * Zero is returned when no login information is stored.
125 * @return an integer representing number of stored login information elements, 0 if none

Completed in 38 milliseconds

12