Searched defs:user (Results 1 - 25 of 74) sorted by relevance

123

/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/
H A DAuditor.java85 * @param user the user for whom authentication was processed
89 public void authentication(String user, String realm, boolean success); argument
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/
H A DAuthenticationInfo.java44 * A class that holds the user and password for the connection to the server.
49 private final String user; field in class:AuthenticationInfo
54 * @param user the user name for the connection
57 public AuthenticationInfo(String user, String password) { argument
58 this.user = user;
63 * Returns the user name.
67 return user;
H A DJMXConnectorConfig.java47 private String user=null; field in class:JMXConnectorConfig
57 String user, String password, String protocol)
61 this.user=user;
76 return user;
56 JMXConnectorConfig(String host, String port, String user, String password, String protocol) argument
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/api/
H A DAdminAccessController.java57 * logging in as an admin user.
69 * Some parts of the authentication logic throw an exception if the user cannot
79 /** Authenticates the admin user by delegating to the underlying realm. The implementing classes
84 * @param user String representing the user name of the user doing an admin opearation
85 * @param password String representing clear-text password of the user doing an admin operation
91 AdminAccessController.Access loginAsAdmin(String user, String password, argument
94 /** Authenticates the admin user by delegating to the underlying realm. The implementing classes
106 * @param user Strin
115 loginAsAdmin(String user, String password, String realm, String originHost, Map<String,String> authRelatedHeaders, Principal requestPrincipal) argument
[all...]
/glassfish-3.1.2/security/webintegration/src/main/java/com/sun/web/security/
H A DWebProgrammaticLoginImpl.java99 * @param user User name to login.
113 public Boolean login(String user, char[] password, String realm, argument
125 LoginContextDriver.login(user, password, realm);
134 WebPrincipal principal = new WebPrincipal(user, password, secCtx);
140 user);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/startup/
H A DHomesUserDatabase.java84 * Initialize a new instance of this user database component.
138 * Return an absolute pathname to the home directory for the specified user.
140 * @param user User for which a home directory should be retrieved
142 public String getHome(String user) { argument
144 return homes.get(user);
H A DPasswdUserDatabase.java85 * Initialize a new instance of this user database component.
145 * Return an absolute pathname to the home directory for the specified user.
147 * @param user User for which a home directory should be retrieved
149 public String getHome(String user) { argument
151 return homes.get(user);
211 // Add this user and corresponding directory
H A DUserDatabase.java97 * Return an absolute pathname to the home directory for the specified user.
99 * @param user User for which a home directory should be retrieved
101 public String getHome(String user); argument
/glassfish-3.1.2/admin/jmx-remote/client/src/main/java/com/sun/enterprise/admin/jmx/remote/
H A DSunOneHttpJmxConnectorFactory.java83 public static JMXConnector connect(JMXServiceURL url, String user, String password) argument
85 return connect(url, user, password, null);
88 public static JMXConnector connect(JMXServiceURL url, String user, String password, Map extraEnv) argument
91 if (user != null)
92 env.put(DefaultConfiguration.ADMIN_USER_ENV_PROPERTY_NAME, user);
/glassfish-3.1.2/admin/jmx-remote/common/src/main/java/com/sun/enterprise/admin/jmx/remote/comm/
H A DAuthenticationInfo.java49 /** An class that holds the user and password for the connection to the server.
57 private final String user; field in class:AuthenticationInfo
61 * @param user the user name for the connection
64 public AuthenticationInfo(String user, String password) { argument
65 this.user = user;
69 /** Returns the user name.
73 return user;
/glassfish-3.1.2/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/
H A DUninstallNodeDcomCommand.java58 @Param(name = "windowsuser", shortName = "w", optional = true, defaultValue = "${user.name}")
59 private String user; field in class:UninstallNodeDcomCommand
80 return user;
H A DUninstallNodeSshCommand.java61 @Param(name = "sshuser", optional = true, defaultValue = "${user.name}")
62 private String user; field in class:UninstallNodeSshCommand
72 return user;
89 //if user hasn't specified a key file check if key exists in
H A DSetupSshKey.java62 @Param(name = "sshuser", optional = true, defaultValue = "${user.name}")
63 private String user; field in class:SetupSshKey
87 //if user hasn't specified a key file and there is no key file at default
202 return user;
/glassfish-3.1.2/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/process/
H A DWindowsCredentials.java52 private final String user; field in class:WindowsCredentials
58 * @param domain - domain that user is in -- if no Windows Domain - use hostname
59 * @param user - username
62 public WindowsCredentials(String host, String domain, String user, String password) { argument
65 this.user = user;
68 if(!ok(host) || !ok(domain) || !ok(user) || !ok(password))
81 return user;
/glassfish-3.1.2/common/common-util/src/main/java/org/glassfish/security/common/
H A DPrincipalImpl.java58 * Construct a principal from a string user name.
59 * @param user The string form of the principal name.
61 public PrincipalImpl(String user) { argument
62 this.name = user;
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/
H A DConnectionRequestInfo.java51 private String user; field in class:ConnectionRequestInfo
57 * @param user User Name.
60 public ConnectionRequestInfo(String user, String password) { argument
61 this.user = user;
66 * Retrieves the user name of the ConnectionRequestInfo.
71 return user;
92 return (isEqual(this.user, other.user) &&
105 String result = "" + user
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/
H A DLoginContext.java96 public void login(String user, String pass) throws LoginException{ argument
97 final String username = user;
110 // Since this is a private api and the user is not supposed to use
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/common/
H A DProgrammaticLoginInterface.java58 * be set in the name of the given user as its Subject.
71 * @param user User name.
72 * @param password Password for user.
73 * @param realm the realm name in which the user should be logged in.
74 * @param errors errors=true, propagate any exception encountered to the user
80 Boolean login(final String user, final String password, final String realm, boolean errors) throws Exception; argument
86 * be set in the name of the given user as its Subject.
98 * @param user User name.
99 * @param password Password for user.
103 Boolean login(final String user, fina argument
126 login(final String user, final String password, final String realm, final HttpServletRequest request, final HttpServletResponse response, boolean errors) argument
146 login(final String user, final String password, final HttpServletRequest request, final HttpServletResponse response) argument
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/web/integration/
H A DWebProgrammaticLogin.java76 * @param user User name to login.
90 public Boolean login(String user, char[] password, String realm, argument
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/client/
H A DAppserverConnectionSourceTest.java76 final String user,
80 new AppserverConnectionSource(protocol, host, port, user, password, null);
92 final String user = (String) getEnvValue("USER");
96 user == null || password == null ||
102 ", user = " + user +
105 testConnect(host, new Integer(port).intValue(), protocol, user, password);
72 testConnect( final String host, final int port, final String protocol, final String user, final String password) argument
/glassfish-3.1.2/tests/embedded/maven-plugin/websockets/src/main/java/com/sun/grizzly/samples/websockets/
H A DChatWebSocket.java50 private String user; field in class:ChatWebSocket
57 return user;
60 public void setUser(String user) { argument
61 this.user = user;
/glassfish-3.1.2/admin/cli-optional/src/main/java/com/sun/enterprise/admin/cli/optional/
H A DLoginCommand.java136 * Prompt for the admin user name.
140 String user = null;
148 user = val;
150 user = defuser;
152 return user;
169 * ".asadminpass" in user's home directory.
172 final String user, final String passwd) {
181 final LoginInfo login = new LoginInfo(host, port, user, passwd);
183 // Let the user know that the user ha
171 saveLogin(String host, final int port, final String user, final String passwd) argument
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/login/common/
H A DServerLoginCallbackHandler.java81 public void setUsername(String user){ argument
82 username = user;
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/realm/file/
H A DFileRealmUser.java52 * Represents a FileRealm user.
58 FileRealmHelper.User user; field in class:FileRealmUser
65 public FileRealmUser(FileRealmHelper.User user, String realm) argument
67 this.user = user;
72 return user.getGroups();
76 * Returns the realm with which this user is associated
79 * @exception NoSuchRealmException if the realm associated this user
90 * Return the requested attribute for the user.
102 * Return the names of the supported attributes for this user
[all...]
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/config/
H A DMailResourceConfigTest.java129 final String user,
132 return ss.getResourcesConfig().createMailResourceConfig(name, host, user, from, optional);
125 createInstance( final DomainConfig ss, final String name, final String host, final String user, final String from, Map<String, String> optional) argument

Completed in 658 milliseconds

123