Searched defs:alias (Results 1 - 25 of 40) sorted by relevance

12

/glassfish-3.1.2/admin/jmx-remote/client/src/main/java/com/sun/enterprise/admin/jmx/remote/https/
H A DNoCertCheckX509TrustManager.java67 * @param alias The toString() of the alias object concatenated with a date/time stamp is used as
68 * the alias of the trusted server certificate in the client side .asadmintruststore. When null
69 * only a date / timestamp is used as an alias.
71 public NoCertCheckX509TrustManager(Object alias) { argument
72 super(alias, null);
H A DAsadminTruststore.java136 public void addCertificate(String alias, Certificate cert) throws KeyStoreException, IOException, argument
139 _keyStore.setCertificateEntry(alias, cert);
H A DSunOneBasicX509TrustManager.java95 * @param alias The toString() of the alias object concatenated with a date/time stamp is used as
96 * the alias of the trusted server certificate in the client side .asadmintruststore. When null
97 * only a date / timestamp is used as an alias.
99 public SunOneBasicX509TrustManager (Object alias, Map env) { argument
102 _alias = alias;
222 //We append a timestamp to the alias to ensure that it is unqiue.
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/
H A DTestClientTrustStoreTrustManager.java73 final String alias,
77 super.addCertificateToTrustStore(alias, c);
72 addCertificateToTrustStore( final String alias, final Certificate c) argument
/glassfish-3.1.2/registration/registration-impl/src/main/java/com/sun/enterprise/registration/impl/environment/
H A DWindowsSystemEnvironment.java167 private String getWmicResult(String alias, String verb, String property) { argument
171 ProcessBuilder pb = new ProcessBuilder("cmd", "/C", "WMIC", alias, verb, property);
210 private String getFullWmicResult(String alias, String verb, String property) { argument
214 ProcessBuilder pb = new ProcessBuilder("cmd", "/C", "WMIC", alias, verb, property);
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/jauth/callback/
H A DSecretKeyCallback.java63 * Request type for secret keys that are identified via an alias.
70 * Construct an AliasRequest with an alias.
72 * <p> The alias is used to directly identify the secret key
75 * <p> If the alias is null,
78 * @param alias name identifier for the secret key, or null.
80 public AliasRequest(String alias) { argument
81 super(alias);
91 * If the alias is null, the handler of the callback
H A DPrivateKeyCallback.java64 * Request type for private keys that are identified via an alias.
71 * Construct an AliasRequest with an alias.
73 * <p> The alias is used to directly identify the private key
77 * <p> If the alias is null,
80 * @param alias name identifier for the private key, or null.
82 public AliasRequest(String alias) { argument
83 super(alias);
/glassfish-3.1.2/security/javax.security.auth.message/src/main/java/javax/security/auth/message/callback/
H A DSecretKeyCallback.java70 * Request type for secret keys that are identified using an alias.
73 private String alias; field in class:SecretKeyCallback.AliasRequest
76 * Construct an AliasRequest with an alias.
78 * <p> The alias is used to directly identify the secret key
81 * <p> If the alias is null,
84 * @param alias Name identifier for the secret key, or null.
86 public AliasRequest(String alias) { argument
87 this.alias = alias;
91 * Get the alias
[all...]
H A DPrivateKeyCallback.java70 * Request type for private keys that are identified using an alias.
73 private String alias; field in class:PrivateKeyCallback.AliasRequest
76 * Construct an AliasRequest with an alias.
78 * <p> The alias is used to directly identify the private key
82 * <p> If the alias is null,
85 * @param alias Name identifier for the private key, or null.
87 public AliasRequest(String alias) { argument
88 this.alias = alias;
92 * Get the alias
[all...]
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/security/store/
H A DAsadminTruststore.java136 public void addCertificate(String alias, Certificate cert) throws KeyStoreException, IOException, argument
139 _keyStore.setCertificateEntry(alias, cert);
H A DPasswordAdapter.java106 final String alias = aliases.nextElement();
107 s = s +INDENT + INDENT + alias + "=" +
108 new String( getPasswordForAlias(alias) ) + "\n";
207 * This methods returns password String for a given alias and SMP.
208 * @param alias
209 * @return corresponding password or null if the alias does not exist.
214 public synchronized String getPasswordForAlias(final String alias) argument
220 final Key key = _pwdStore.getKey( alias, getMasterPassword() );
230 * This methods returns password SecretKey for a given alias and SMP.
231 * @param alias
238 getPasswordSecretKeyForAlias(String alias) argument
250 aliasExists( final String alias) argument
263 removeAlias( final String alias) argument
303 setPasswordForAlias( final String alias, final byte[] keyBytes) argument
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/login/common/
H A DX509CertificateCredential.java55 private String alias; field in class:X509CertificateCredential
59 * chain, realm name and alias.
61 * @param the alias for the certificate
66 String alias, String realm)
69 this.alias = alias;
74 * Return the alias for the certificate.
75 * @return the alias.
78 return alias;
105 if(pc.getRealm().equals(realm) && pc.getAlias().equals(alias)) {
65 X509CertificateCredential(X509Certificate[] certChain, String alias, String realm) argument
[all...]
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/
H A DAsadminTrustManager.java76 * @param alias The toString() of the alias object concatenated with a
77 * date/time stamp is used as the alias of the trusted server certificate
79 * only a date / timestamp is used as an alias.
81 public AsadminTrustManager(Object alias, Map env) { argument
82 _alias = alias;
178 // We append a timestamp to the alias to ensure that it is unqiue.
/glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/jws/servedcontent/
H A DASJarSigner.java57 *This implementation searches the available keystores for the signing alias
58 *indicated in the domain.xml config or, if not specified, the default alias,
60 *signing it uses the same alias and provider to sign all JARs.
70 /** property name optionally set by the admin in domain.xml to select an alias for signing */
71 public static final String USER_SPECIFIED_ALIAS_PROPERTYNAME = "com.sun.aas.jws.signing.alias";
76 /** default alias for signing if the admin does not specify one */
82 // /** user-specified signing alias */
103 String alias) throws Exception {
105 if (alias == null) {
106 alias
102 signJar(final File unsignedJar, final File signedJar, String alias) argument
[all...]
/glassfish-3.1.2/security/ejb.security/src/main/java/com/sun/enterprise/iiop/security/
H A DIIOPSSLUtilImpl.java92 public KeyManager[] getKeyManagers(String alias) { argument
95 if (alias != null && !sslUtils.isTokenKeyAlias(alias)) {
97 "iiop.cannot_find_keyalias", new Object[]{alias}));
101 if (alias != null && mgrs != null && mgrs.length > 0) {
106 msg.append(" alias : " + alias);
109 newMgrs[i] = new J2EEKeyManager((X509KeyManager) mgrs[i], alias);
/glassfish-3.1.2/security/ssl-impl/src/main/java/com/sun/enterprise/security/ssl/manager/
H A DUnifiedX509KeyManager.java77 String alias = null;
79 alias = mgrs[i].chooseClientAlias(keyType, issuers, socket);
80 if (alias != null) {
84 return alias;
89 String alias = null;
91 alias = mgrs[i].chooseServerAlias(keyType, issuers, socket);
92 if (alias != null) {
96 return alias;
99 public X509Certificate[] getCertificateChain(String alias) { argument
102 chain = mgrs[i].getCertificateChain(alias);
125 getPrivateKey(String alias) argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/
H A DHost.java93 * The ContainerEvent event type sent when a new alias is added
100 * The ContainerEvent event type sent when an old alias is removed
252 * Add an alias name that should be mapped to this same Host.
254 * @param alias The alias to be added
256 public void addAlias(String alias); argument
260 * Return the set of alias names for this Host. If none are defined,
276 * Remove the specified alias name from the aliases for this Host.
278 * @param alias Alias name to be removed
280 public void removeAlias(String alias); argument
[all...]
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/
H A DSecureAdmin.java122 void setDasAlias(String alias); argument
127 void setInstanceAlias(String alias); argument
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/admin/cli/
H A DEnableSecureAdminCommand.java236 private String processAlias(String alias, final String defaultAlias, final SecureAdmin secureAdmin_w, argument
244 if (alias.equals(defaultAlias)) {
247 isAliasOK = validateAlias(alias);
249 badAliases.add(alias);
255 * to the specified alias then add one now.
257 ensureSecureAdminPrincipalForAlias(alias,
260 return alias;
280 * alias. If not, one is added in the context of the current
283 * @param alias the alias t
286 ensureSecureAdminPrincipalForAlias(final String alias, final SecureAdmin secureAdmin_w) argument
305 getSecureAdminPrincipalForAlias(final String alias, final SecureAdmin secureAdmin_w) argument
327 validateAlias(final String alias) argument
[all...]
H A DSecureAdminUpgradeHelper.java218 private void addPrincipalForAlias(final String alias) throws IOException, KeyStoreException, TransactionFailure { argument
220 p.setDn(secureAdminHelper().getDN(alias, true));
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/login/
H A DClientCertificateLoginModule.java102 private String alias; field in class:ClientCertificateLoginModule
199 // wrong alias.
202 this.alias = aliasString[idx[0]];
203 certificate = (X509Certificate) ks.getCertificate(alias);
253 userPrincipal = new PrincipalImpl(alias);
266 ssl.setCertNickname(this.alias);
273 new X509CertificateCredential(certChain, alias, realm);
307 alias = null;
331 // unset the alias
337 alias
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/ssl/
H A DJ2EEKeyManager.java86 private String alias = null; field in class:J2EEKeyManager
91 public J2EEKeyManager(X509KeyManager mgr, String alias) { argument
93 this.alias = alias;
115 return alias;
119 * Choose the client alias that will be used to select the client
124 * in which case the method will return the most generic alias to use.
125 * @return the alias.
132 if(this.alias == null){
170 clientAlias = this.alias;
207 getCertificateChain(String alias) argument
251 getPrivateKey(String alias) argument
[all...]
H A DJarSigner.java130 * @param alias signing alias in the keystore
132 public void signJar(File input, File output, String alias) argument
196 privKey = secSupp.getPrivateKeyForAlias(alias, i);
198 Certificate[] cs = ks[i].getCertificateChain(alias);
235 + alias.toUpperCase(Locale.US) + ".SF"));
239 + alias.toUpperCase(Locale.US) + "." + keyAlgorithm));
/glassfish-3.1.2/security/ssl-impl/src/main/java/com/sun/enterprise/server/pluggable/
H A DSecuritySupport.java140 * Gets the PrivateKey for specified alias from the corresponding keystore
143 * @param alias Alias for which the PrivateKey is desired.
150 abstract public PrivateKey getPrivateKeyForAlias(String alias, int keystoreIndex) argument
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/connector/
H A DCoyoteServerSocketFactory.java311 * Gets the alias name of the keypair and supporting certificate chain
314 * @return The alias name of the keypair and supporting certificate chain
321 * Sets the alias name of the keypair and supporting certificate chain
324 * @param alias The alias name of the keypair and supporting certificate
327 public void setKeyAlias(String alias) { argument
328 this.keyAlias = alias;

Completed in 5327 milliseconds

12