/openjdk7/jdk/src/share/classes/sun/security/acl/ |
H A D | PrincipalImpl.java | 37 private String user; field in class:PrincipalImpl 40 * Construct a principal from a string user name. 41 * @param user The string form of the principal name. 43 public PrincipalImpl(String user) { argument 44 this.user = user; 57 return user.equals(p.toString()); 66 return user; 73 return user.hashCode(); 80 return user; [all...] |
H A D | AclEntryImpl.java | 39 private Principal user = null; field in class:AclEntryImpl 44 * Construct an ACL entry that associates a user with permissions 46 * @param user The user that is associated with this entry. 48 public AclEntryImpl(Principal user) { argument 49 this.user = user; 62 * @param user The user that is associated with this entry. 66 public boolean setPrincipal(Principal user) { argument [all...] |
H A D | GroupImpl.java | 50 * @param user The principal to add to the group. 54 public boolean addMember(Principal user) { argument 55 if (groupMembers.contains(user)) 59 if (group.equals(user.toString())) 62 groupMembers.addElement(user); 68 * @param user The principal to remove from the group. 72 public boolean removeMember(Principal user) { argument 73 return groupMembers.removeElement(user);
|
H A D | AclImpl.java | 92 * user or group can have one positive ACL entry and one 170 * @param user the principal for which the ACL entry is returned. 173 public synchronized Enumeration<Permission> getPermissions(Principal user) { argument 185 subtract(getGroupPositive(user), getGroupNegative(user)); 187 subtract(getGroupNegative(user), getGroupPositive(user)); 189 subtract(getIndividualPositive(user), getIndividualNegative(user)); 191 subtract(getIndividualNegative(user), getIndividualPositiv 330 getGroupPositive(Principal user) argument 343 getGroupNegative(Principal user) argument 356 getIndividualPositive(Principal user) argument 364 getIndividualNegative(Principal user) argument [all...] |
/openjdk7/jdk/test/sun/net/www/ftptest/ |
H A D | FtpAuthHandler.java | 38 public boolean authenticate(String user, String password); argument 39 public boolean authenticate(String user, String password, String account); argument
|
/openjdk7/jdk/test/sun/security/provider/PolicyFile/ |
H A D | SomeExtensionClass.java | 29 String user = (String) AccessController.doPrivileged( 32 return System.getProperty("user.name"); 36 return user;
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/ |
H A D | UserAcl.java | 35 * Defines the user based ACL used by the SNMP protocol adaptor. 52 * Checks whether or not the specified user has <CODE>READ</CODE> access. 54 * @param user The user name to check. 58 public boolean checkReadPermission(String user); argument 61 * Checks whether or not the specified user and context name have <CODE>READ</CODE> access. 63 * @param user The user name to check. 64 * @param contextName The context name associated with the user. 66 * @return <CODE>true</CODE> if the pair (user, contex 68 checkReadPermission(String user, String contextName, int securityLevel) argument 86 checkWritePermission(String user) argument 96 checkWritePermission(String user, String contextName, int securityLevel) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/ |
H A D | AuthInfo.java | 40 private final String user; field in class:AuthInfo 44 public AuthInfo(@NotNull URL url, @NotNull String user, @NotNull String password){ argument 46 this.user = user; 51 return user;
|
/openjdk7/jdk/src/share/classes/java/security/acl/ |
H A D | Group.java | 33 * represents an entity such as an individual user or a company). <p> 48 * @param user the principal to add to this group. 53 public boolean addMember(Principal user); argument 58 * @param user the principal to remove from this group. 63 public boolean removeMember(Principal user); argument
|
H A D | AclEntry.java | 38 * an individual user or a group). Additionally, each ACL entry is specified 61 * @param user the principal to be set for this entry. 68 public boolean setPrincipal(Principal user); argument 83 * principal (e.g., a user or a group) will be denied the permission set
|
H A D | Acl.java | 39 * principal represents an entity such as an individual user or a 198 * @param user the principal whose permission set is to be returned. 203 public Enumeration<Permission> getPermissions(Principal user); argument
|
/openjdk7/jdk/src/share/classes/javax/sql/ |
H A D | ConnectionPoolDataSource.java | 61 * @param user the database user on whose behalf the connection is being made 62 * @param password the user's password 71 PooledConnection getPooledConnection(String user, String password) argument
|
H A D | XADataSource.java | 58 * user name and password. The connection that is returned is one that 61 * @param user the database user on whose behalf the connection is being made 62 * @param password the user's password 71 XAConnection getXAConnection(String user, String password) argument
|
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/rmi/ |
H A D | RemoteVmManager.java | 41 * specific user. The ability to detect all possible HotSpot Java Virtual 51 private String user; field in class:RemoteVmManager 67 * Creates a RemoteVmManager instance for the given user. 70 * machines owned by the specified user on the remote system. The 76 * @param user the name of the user 78 public RemoteVmManager(RemoteHost remoteHost, String user) { argument 79 this.user = user; 86 * The set returned by this method depends on the user nam [all...] |
/openjdk7/jdk/src/macosx/classes/java/util/prefs/ |
H A D | MacOSXPreferencesFile.java | 41 * simultaneous creation of two objects for the same name+user+host triplet 111 private long user; field in class:MacOSXPreferencesFile 115 long user() { return user; } method in class:MacOSXPreferencesFile 122 user = newUser; 127 // Always returns the same object for the given name+user+host 142 // Java user node == CF current user, any host 143 // Java system node == CF any user, current host 195 // Sync only current user preference 437 addNode(String path, String name, long user, long host) argument 439 removeNode(String path, String name, long user, long host) argument 441 addChildToNode(String path, String child, String name, long user, long host) argument 444 removeChildFromNode(String path, String child, String name, long user, long host) argument 447 addKeyToNode(String path, String key, String value, String name, long user, long host) argument 450 removeKeyFromNode(String path, String key, String name, long user, long host) argument 453 getKeyFromNode(String path, String key, String name, long user, long host) argument 456 getChildrenForNode(String path, String name, long user, long host) argument 458 getKeysForNode(String path, String name, long user, long host) argument 460 synchronize(String name, long user, long host) argument [all...] |
/openjdk7/jdk/test/java/rmi/reliability/juicer/ |
H A D | ApplicationServer.java | 46 private AppleUser user; field in class:ApplicationServer 68 * Locate apple user object in registry. The lookup will 78 user = (AppleUser) registry.lookup("AppleUser"); 79 user.startTest(); 86 if (user == null) { 101 user.reportException(e); 106 * Hand apple objects to apple user. 110 user.useApple(apples[i]); 115 user.reportException(e);
|
/openjdk7/jdk/src/share/classes/sun/net/ftp/ |
H A D | FtpDirEntry.java | 57 private String user = null; field in class:FtpDirEntry 89 * Returns the user name of the owner of the file as returned by the FTP 90 * server, if provided. This could be a name or a user id (number). 92 * @return a {@code String} containing the user name or 96 return user; 100 * Sets the user name of the owner of the file. Intended mostly to be 103 * @param user The user name of the owner of the file, or {@code null} 107 public FtpDirEntry setUser(String user) { argument 108 this.user [all...] |
/openjdk7/jdk/test/sun/security/validator/ |
H A D | certreplace.sh | 56 # 1. Generate 3 aliases in a keystore: ca, int, user 60 $KT -genkeypair -alias user -dname CN=User -keyalg rsa 62 # 2. Signing: ca -> int -> user 66 $KT -certreq -alias user | $KT -gencert -rfc -alias int \ 67 | $KT -import -alias user 71 $KT -export -alias user -rfc > certreplace.certs 80 $KT -delete -alias user
|
H A D | samedn.sh | 56 # 1. Generate 3 aliases in a keystore: ca1, ca2, user. The CAs' startdate 61 $KT -genkeypair -alias user -dname CN=User -keyalg rsa 63 # 2. Signing: ca -> user 65 $KT -certreq -alias user | $KT -gencert -rfc -alias ca1 > samedn1.certs 66 $KT -certreq -alias user | $KT -gencert -rfc -alias ca2 > samedn2.certs 73 # 4. Remove user for cacerts 75 $KT -delete -alias user
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/IPAcl/ |
H A D | AclImpl.java | 183 * @param user the principal whose permission set is to be returned. 188 public Enumeration<Permission> getPermissions(Principal user){ argument 192 if (ent.getPrincipal().equals(user)) 217 * @param user the principal, assumed to be a valid authenticated Principal. 224 public boolean checkPermission(Principal user, argument 228 if (ent.getPrincipal().equals(user)) 243 * @param user the principal, assumed to be a valid authenticated Principal. 251 public boolean checkPermission(Principal user, String community, argument 255 if (ent.getPrincipal().equals(user))
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | Perf.java | 212 * machine owned by the given user. 216 * owned by the specified user. 218 * @param user A <code>String</code> object containing the 219 * name of the user that owns the target Java 232 public ByteBuffer attach(String user, int lvmid, String mode) argument 236 return attachImpl(user, lvmid, PERF_MODE_RO); 239 return attachImpl(user, lvmid, PERF_MODE_RW); 254 * @param user A <code>String</code> object containing the 255 * name of the user that owns the target Java 267 private ByteBuffer attachImpl(String user, in argument 326 attach(String user, int lvmid, int mode) argument [all...] |
/openjdk7/jdk/test/sun/net/www/protocol/http/ |
H A D | WebGet.java | 40 static String user = System.getProperty("user"); field in class:WebGet 61 System.out.println("::::: PROVIDING PASSWORD AND USERNAME " + user +":"+pass+" :::::"); 62 return (new PasswordAuthentication (user, pass.toCharArray()));
|
/openjdk7/jdk/test/sun/security/krb5/auto/ |
H A D | OneKDC.java | 128 String user = OneKDC.USER; 132 System.out.println("Callback for name: " + user); 133 ((NameCallback) callback).setName(user);
|
/openjdk7/jdk/src/share/demo/jfc/TableExample/ |
H A D | TableExample2.java | 61 public TableExample2(String URL, String driver, String user, argument 71 JDBCAdapter dt = new JDBCAdapter(URL, driver, user, passwd);
|
/openjdk7/jdk/test/sun/net/ftp/ |
H A D | B6427768.java | 44 public boolean authenticate(String user, String password) { argument 48 public boolean authenticate(String user, String password, String account) { argument 112 URL url = new URL("ftp://user:passwd@localhost:" + port + "/foo.txt");
|