Searched refs:login (Results 51 - 75 of 83) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/
H A DKrb5Util.java33 import javax.security.auth.login.LoginException;
74 * - read the auth.login.defaultCallbackHandler security property
94 // 2. Try to get ticket from login
96 loginSubj = GSSUtil.login(caller, GSSUtil.GSS_KRB5_MECH_OID);
103 // No login entry to use
108 // Service ticket not found in subject or login
117 // 4. Try to get TGT from login subject
161 Subject subject = GSSUtil.login(caller, GSSUtil.GSS_KRB5_MECH_OID);
175 * - read the auth.login.defaultCallbackHandler security property
187 subject = GSSUtil.login(calle
[all...]
/openjdk7/jdk/src/share/classes/com/sun/security/auth/module/
H A DSolarisLoginModule.java32 import javax.security.auth.login.*;
46 * If set to true in the login Configuration,
94 * @param options options specified in the login
127 public boolean login() throws LoginException { method in class:SolarisLoginModule
186 * @return true if this LoginModule's own login and commit attempts
234 * as part of the authentication attempt from the <code>login</code>
241 * @return false if this LoginModule's own login and/or commit attempts
H A DUnixLoginModule.java32 import javax.security.auth.login.*;
46 * If set to true in the login Configuration,
88 * @param options options specified in the login
120 public boolean login() throws LoginException { method in class:UnixLoginModule
180 * @return true if this LoginModule's own login and commit attempts
230 * as part of the authentication attempt from the <code>login</code>
237 * @return false if this LoginModule's own login and/or commit attempts
H A DNTLoginModule.java32 import javax.security.auth.login.*;
50 * If set to true in the login Configuration,
54 * If set to true in the login Configuration,
101 * @param options options specified in the login
137 public boolean login() throws LoginException { method in class:NTLoginModule
145 "Failed in NT login");
228 * <code>login</code> method), then this method associates some
239 * @return true if this LoginModule's own login and commit
297 * <code>login</code> and <code>commit</code> methods),
304 * @return false if this LoginModule's own login an
[all...]
H A DKeyStoreLoginModule.java66 import javax.security.auth.login.FailedLoginException;
67 import javax.security.auth.login.LoginException;
74 * Provides a JAAS login module that prompts for a key store alias and
107 * <dd> The alias in the key store to login as. Required when no callback
201 * @param options options specified in the login
278 public boolean login() throws LoginException { method in class:KeyStoreLoginModule
282 throw new LoginException("The login module is not initialized");
730 * <code>login</code> method), then this method associates a
745 * @return true if this LoginModule's own login and commit
753 throw new LoginException("The login modul
[all...]
H A DJndiLoginModule.java30 import javax.security.auth.login.*;
54 * two options must be specified in the login <code>Configuration</code>
121 * using "javax.security.auth.login.name" and
122 * "javax.security.auth.login.password" as the respective
130 * using "javax.security.auth.login.name" and
131 * "javax.security.auth.login.password" as the respective
141 * shared state, using "javax.security.auth.login.name" and
142 * "javax.security.auth.login.password" as the respective
149 * after both phases of authentication (login and commit)
200 private static final String NAME = "javax.security.auth.login
259 public boolean login() throws LoginException { method in class:JndiLoginModule
[all...]
H A DLdapLoginModule.java47 import javax.security.auth.login.*;
99 * module's login {@link Configuration}:
171 * from the module's shared state, using "javax.security.auth.login.name"
172 * and "javax.security.auth.login.password" as the respective keys. The
179 * from the module's shared state, using "javax.security.auth.login.name"
180 * and "javax.security.auth.login.password" as the respective keys. The
191 * "javax.security.auth.login.name" and
192 * "javax.security.auth.login.password" as the respective keys. This is
199 * (login and commit) have completed.</dd>
272 * If the application creates a login contex
500 public boolean login() throws LoginException { method in class:LdapLoginModule
[all...]
H A DKrb5LoginModule.java36 import javax.security.auth.login.*;
81 * This property is checked during login. If this property is not set, then
93 * to be refreshed before the <code>login</code> method is called.</dd>
184 * using "javax.security.auth.login.name" and
185 * "javax.security.auth.login.password" as the respective
193 * state using "javax.security.auth.login.name" and
194 * "javax.security.auth.login.password" as the respective
206 * "javax.security.auth.login.name" and
207 * "javax.security.auth.login.password" as the respective
215 * (login an
517 public boolean login() throws LoginException { method in class:Krb5LoginModule
[all...]
/openjdk7/jdk/test/com/sun/security/sasl/gsskerb/
H A DAuthOnly.java37 import javax.security.auth.login.*;
164 lc.login();
H A DNoSecurityLayer.java38 import javax.security.auth.login.*;
205 lc.login();
H A DConfSecurityLayer.java38 import javax.security.auth.login.*;
187 lc.login();
/openjdk7/jdk/src/share/classes/sun/security/ssl/krb5/
H A DKrb5ProxyImpl.java35 import javax.security.auth.login.LoginException;
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DAuthFilter.java36 import javax.security.auth.login.*;
/openjdk7/jdk/test/sun/security/krb5/
H A DIPv6.java89 shared.put("javax.security.auth.login.name", "any");
90 shared.put("javax.security.auth.login.password", "any".toCharArray());
92 krb5.login();
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/security/
H A DFileLoginModule.java44 import javax.security.auth.login.*;
81 * from the module's shared state, using "javax.security.auth.login.name"
82 * and "javax.security.auth.login.password" as the respective keys. The
89 * from the module's shared state, using "javax.security.auth.login.name"
90 * and "javax.security.auth.login.password" as the respective keys. The
100 * "javax.security.auth.login.name" and
101 * "javax.security.auth.login.password" as the respective keys. This is
108 * (login and commit) have completed.</dd>
122 "javax.security.auth.login.name";
126 "javax.security.auth.login
221 public boolean login() throws LoginException { method in class:FileLoginModule
[all...]
/openjdk7/jdk/test/sun/security/util/Resources/
H A DFormat.java29 * @run main/othervm/policy=Format.policy -Djava.security.auth.login.config=file:${test.src}/Format.config Format
34 import javax.security.auth.login.*;
231 lc.login();
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DToken.java33 import javax.security.auth.login.LoginException;
114 // time we last checked login status
196 // call provider.login() if not
199 provider.login(null, null);
H A DP11KeyStore.java65 import javax.security.auth.login.LoginException;
230 * callback handler for passing password to Provider.login method
741 * password is given, of if the token login operation failed
762 login(null);
764 login(new PasswordCallbackHandler(password));
809 * is non-null, or if the token login operation fails
855 login(handler);
872 private void login(CallbackHandler handler) throws LoginException { method in class:P11KeyStore
874 token.provider.login(null, handler);
886 token.provider.login(nul
[all...]
/openjdk7/jdk/src/share/classes/sun/net/ftp/
H A DFtpClient.java50 * cl.connect("ftp.gnu.org").login("anonymous", "john.doe@mydomain.com".toCharArray())).changeDirectory("pub/gnu");
271 * @throws FtpProtocolException if the login was refused by the server
273 public abstract FtpClient login(String user, char[] password) throws FtpProtocolException, IOException; method in class:FtpClient
284 * @throws FtpProtocolException if the login was refused by the server
286 public abstract FtpClient login(String user, char[] password, String account) throws FtpProtocolException, IOException; method in class:FtpClient
303 * @return {@code true} if the client has already completed a login.
862 * but before calling {@link #login(java.lang.String, char[]) }.</p>
897 * login or accounting information.
/openjdk7/jdk/src/share/classes/com/sun/security/auth/login/
H A DConfigFile.java26 package com.sun.security.auth.login;
29 import javax.security.auth.login.AppConfigurationEntry;
42 * <code>javax.security.auth.login.Configuration</code>.
44 * <p> This object stores the runtime login configuration representation,
45 * and is the amalgamation of multiple static login
47 * The algorithm for locating the login configuration file(s) and reading their
53 * <i>login.config.url.1</i>, <i>login.config.url.2</i>, ...,
54 * <i>login.config.url.X</i>. These properties are set
60 * login configuratio
[all...]
/openjdk7/jdk/test/sun/security/krb5/auto/
H A DBadKdc.java31 import javax.security.auth.login.LoginException;
H A DContext.java34 import javax.security.auth.login.LoginContext;
55 * 1. static fromJAAS(): Creates a Context using a JAAS login config entry
99 * Logins with a JAAS login config entry name
105 lc.login();
129 shared.put("javax.security.auth.login.name", user);
130 shared.put("javax.security.auth.login.password", pass);
143 krb5.login();
170 krb5.login();
/openjdk7/jdk/src/share/classes/javax/security/auth/login/
H A DLoginContext.java26 package javax.security.auth.login;
70 * it invokes the <code>login</code> method to authenticate
71 * a <code>Subject</code>. The <code>login</code> method invokes
78 * <p> If the <code>login</code> method returns without
88 * the <code>logout</code> method. As with the <code>login</code>
166 * <i>auth.login.defaultCallbackHandler</i> security property
188 * (such as <code>auth.login.defaultCallbackHandler</code>)
200 * @see javax.security.auth.login.Configuration
206 private static final String LOGIN_METHOD = "login";
212 "auth.login
579 public void login() throws LoginException { method in class:LoginContext
[all...]
H A DConfiguration.java26 package javax.security.auth.login;
50 * <p> A login configuration contains the following information.
176 * of the "login.configuration.provider" security property (in the Java
192 * @see javax.security.auth.login.LoginContext
223 * Get the installed login Configuration.
227 * @return the login Configuration. If a Configuration object was set
250 ("login.configuration.provider");
254 config_class = "com.sun.security.auth.login.ConfigFile";
292 * Set the login <code>Configuration</code>.
/openjdk7/jdk/test/javax/security/auth/login/Configuration/
H A DGetInstance.java30 * @run main/othervm -Djava.security.auth.login.config==${test.src}${/}GetInstance.config GetInstance
33 import javax.security.auth.login.*;

Completed in 73 milliseconds

1234