Searched refs:user (Results 1 - 25 of 105) sorted by relevance

12345

/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/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/common-util/src/main/java/com/sun/appserv/management/client/prefs/
H A DLoginInfo.java46 * at the most one LoginInfo for an operating system user of Appserver, for a given admin host
53 private String user; field in class:LoginInfo
58 * The host, user and password may not be null.
62 * @param user String representing user
66 public LoginInfo(final String host, final int port, final String user, final String password) { argument
67 if (host == null || port < 0 || user == null || password == null)
69 init(host, port, user, password);
78 return ( user );
89 this.user
98 init(final String host, final int port, final String user, final String password) argument
[all...]
/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/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/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/security/core/src/main/java/com/sun/enterprise/security/auth/login/
H A DPamLoginModule.java61 // A Unix user must have a name not null so check here.
65 UnixUser user = authenticate(_username, _password);
67 if (user == null) { // JAAS behavior
80 Set<String> groupSet = user.getGroups();
84 user.getGroups().toArray(grpList);
103 UnixUser user = null;
114 user = new PAM(pamService).authenticate(username, password);
119 return user;
/glassfish-3.1.2/security/core/src/main/java/com/sun/appserv/security/
H A DAuditModule.java71 * Invoked post authentication request for a user in a given realm
72 * @param user username for whom the authentication request was made
73 * @param realm the realm name under which the user is authenticated.
76 public void authentication(String user, String realm, boolean success) { argument
81 * @param user the username for whom the authorization was performed
87 public void webInvocation(String user, HttpServletRequest req, argument
92 * @param user the username for whom the authorization was performed
97 public void ejbInvocation(String user, String ejb, String method, boolean success) { argument
H A DProgrammaticLogin.java74 * a security context is established as this user.
125 public Boolean login(final String user, final String password, argument
128 return login(user, password.toCharArray(),realm, errors);
134 * be set in the name of the given user as its Subject.
147 * @param user User name.
148 * @param password Password for user.
149 * @param realm the realm name in which the user should be logged in.
150 * @param errors errors=true, propagate any exception encountered to the user
156 public Boolean login(final String user, final char[] password, argument
164 checkLoginPermission(user);
209 login(final String user, final String password) argument
234 login(final String user, final char[] password) argument
252 login(final String user, final String password, final String realm, final HttpServletRequest request, final HttpServletResponse response, boolean errors) argument
279 login(final String user, final char[] password, final String realm, final HttpServletRequest request, final HttpServletResponse response, boolean errors) argument
312 login(final String user, final String password, final HttpServletRequest request, final HttpServletResponse response) argument
337 login(final String user, final char[] password, final HttpServletRequest request, final HttpServletResponse response) argument
476 checkLoginPermission(String user) argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/startup/
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/security/core/src/main/java/com/sun/enterprise/security/auth/digest/impl/
H A DKeyDigestAlgoParamImpl.java58 public KeyDigestAlgoParamImpl(String user, String realm) { argument
59 this.userName = user;
63 public KeyDigestAlgoParamImpl(String algorithm, String user, String realm) { argument
64 this.userName = user;
/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/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/appclient/client/acc/src/main/java/org/glassfish/appclient/client/acc/
H A DHttpAuthenticator.java87 String user = null;
100 user = getUserName(subject);
102 if(user == null || password == null) {
112 user = getUserName(subject);
120 _logger.fine("Username:" + user);
122 return new PasswordAuthentication(user, password);
129 String user = null;
136 user = p.getName();
138 return user;
/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/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/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/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/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/
H A DPreferencesHandler.java64 * ignored. If "user" is not specified the current principal user
72 @HandlerInput(name="user", type=String.class)
76 String user = (String) handlerCtx.getInputValue("user");
77 if (user == null) {
78 user = handlerCtx.getFacesContext().getExternalContext().
85 user);
98 @HandlerInput(name="user", type=String.class)
107 (String) handlerCtx.getInputValue("user"));
[all...]
/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/common/amx-core/src/main/java/org/glassfish/admin/amx/base/
H A DRealms.java73 public void addUser( String realm, String user, String password, String[] groupList ); argument
75 public void updateUser( String realm, String user, String newUser, String password, String[] groupList ); argument
77 public void removeUser(String realm, String user); argument
85 public Map<String,Object> getUserAttributes(final String realm, final String user); argument
88 public String[] getGroupNames(String realm, String user); argument
90 /** @return true if the realm implementation support User Management (add,remove,update user) */
94 /** @return the username of any user that uses an empty password */
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/login/common/
H A DPasswordCredential.java46 * This class holds the user password for the shared password realm and the
67 public PasswordCredential(String user, char[] password, String realm) argument
69 this.username = user;
86 public PasswordCredential(String user, char[] password, argument
89 this(user, password, realm);
106 * @return the user name.
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/web/integration/
H A DWebPrincipal.java71 public WebPrincipal(String user, char[] pwd, argument
73 super(user);
83 public WebPrincipal(String user, String password, argument
85 this(user, password.toCharArray(),context);
H A DWebProgrammaticLogin.java76 * @param user User name to login.
90 public Boolean login(String user, char[] password, String realm, argument

Completed in 94 milliseconds

12345