Searched refs:alias (Results 1 - 25 of 91) sorted by relevance

1234

/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);
/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/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/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/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/connectors/admin/src/main/java/org/glassfish/connectors/admin/cli/
H A DCreateConnectorConnectionPool.java81 @Param(name=CCP_RA_NAME, alias= "resourceAdapterName")
84 @Param(name=CCP_CON_DEFN_NAME, alias="connectiondefinitionname")
87 @Param(name=CCP_STEADY_POOL_SIZE, alias="steadyPoolSize", optional=true, defaultValue="8")
90 @Param(name=CCP_MAX_POOL_SIZE, alias="maxPoolSize", optional=true, defaultValue="32")
93 @Param(name=CCP_MAX_WAIT_TIME, optional=true, alias="maxWaitTimeInMillis", defaultValue="60000")
96 @Param(name=CCP_POOL_RESIZE_QTY, optional=true, alias="poolResizeQuantity", defaultValue="2")
99 @Param(name=CCP_IDLE_TIMEOUT, optional=true, alias="idleTimeoutInSeconds", defaultValue="300")
102 @Param(name=CCP_IS_VALIDATION_REQUIRED, optional=true, defaultValue="false", alias="isConnectionValidationRequired")
105 @Param(name=CCP_FAIL_ALL_CONNS, optional=true, defaultValue="false", alias="failAllConnections")
108 @Param(name=CCP_LEAK_TIMEOUT, alias
[all...]
H A DCreateJavaMailResource.java80 @Param(name="mailhost", alias="host")
83 @Param(name="mailuser", alias="user")
86 @Param(name="fromaddress",alias="from")
92 @Param(name="storeprotocol", optional=true, defaultValue="imap", alias="storeProtocol")
95 @Param(name="storeprotocolclass", optional=true, defaultValue="com.sun.mail.imap.IMAPStore", alias="storeProtocolClass")
98 @Param(name="transprotocol", optional=true, defaultValue="smtp", alias="transportProtocol")
101 @Param(name="transprotocolclass", optional=true, defaultValue="com.sun.mail.smtp.SMTPTransport", alias="transportProtocolClass")
/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/common/common-util/src/main/java/com/sun/enterprise/security/store/
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/
H A DKeyTool.java202 String alias = (String)e.nextElement ();
203 if (pkcs12KeyStore.isKeyEntry (alias)){
208 Key key = pkcs12KeyStore.getKey (alias, pkcsKeyPass);
210 pkcs12KeyStore.getCertificateChain (alias);
211 jksKeyStore.setKeyEntry (alias, key, jksKeyPass, certs);
212 } else if (pkcs12KeyStore.isCertificateEntry (alias)){
215 (alias, pkcs12KeyStore.getCertificate (alias));
230 String alias = (String)e.nextElement ();
231 _logger.log(Level.FINEST," Alias = "+ alias);
[all...]
/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...]
/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/web/admin/src/main/java/org/glassfish/web/admin/cli/
H A DCreateTransport.java92 @Param(name = "acceptorthreads", alias="acceptorThreads", optional = true, defaultValue = "-1")
94 @Param(name = "buffersizebytes", alias="bufferSizeBytes", optional = true, defaultValue = "8192")
96 @Param(name = "bytebuffertype", alias="byteBufferType", optional = true, defaultValue = "HEAP")
101 @Param(name = "displayconfiguration", alias="displayConfiguration", optional = true, defaultValue = "false")
103 @Param(name = "enablesnoop", alias="enableSnoop", optional = true, defaultValue = "false")
105 @Param(name = "idlekeytimeoutseconds", alias="idleKeyTimeoutSeconds", optional = true, defaultValue = "30")
107 @Param(name = "maxconnectionscount", alias="maxConnectionsCount", optional = true, defaultValue = "4096")
109 @Param(name = "readtimeoutmillis", alias="readTimeoutMillis", optional = true, defaultValue = "30000")
111 @Param(name = "writetimeoutmillis", alias="writeTimeoutMillis", optional = true, defaultValue = "30000")
113 @Param(name = "selectionkeyhandler", alias
[all...]
H A DCreateHttp.java92 @Param(name = "request-timeout-seconds", optional = true, alias="requestTimeoutSeconds")
94 @Param(name = "timeout-seconds", defaultValue = "30", optional = true, alias="timeoutSeconds")
96 @Param(name = "max-connection", defaultValue = "256", optional = true, alias="maxConnections")
98 @Param(name = "default-virtual-server", alias="defaultVirtualServer")
100 @Param(name = "dns-lookup-enabled", defaultValue = "false", optional = true, alias="dnsLookupEnabled")
102 @Param(name = "servername", optional = true, alias="serverName")
104 @Param(name = "xpowered", optional = true, defaultValue = "true", alias="xpoweredBy")
/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 DSSLUtils.java113 String alias = (String) aliases.nextElement();
114 if (keyStore.isKeyEntry(alias)) {
232 * Check whether given String is of the form [&lt;TokenName&gt;:]alias
233 * where alias is an key entry.
271 * [&lt;TokenName&gt;:]alias where alias is an key entry.
359 String alias = (String)aliases.nextElement();
360 Certificate cert = trustStores[i].getCertificate(alias);
362 //need to preserve the token:alias name format
363 String alias2 = (i < tokens.length - 1)? tokens[i] + ":" + alias
391 getAdminSocketFactory(String alias, String protocol) argument
400 getAdminSSLContext(String alias, String protocol) argument
[all...]
/glassfish-3.1.2/jdbc/admin/src/main/java/org/glassfish/jdbc/admin/cli/
H A DCreateJdbcConnectionPool.java89 @Param(name="maxWait", alias = "maxWaitTimeInMillis", optional=true, defaultValue = "60000")
92 @Param(name="poolResize", alias = "poolResizeQuantity", optional=true, defaultValue = "2")
95 @Param(name="idleTimeout", alias = "idleTimeoutInSeconds", optional=true, defaultValue = "300")
101 @Param(name="isolationLevel", alias = "transactionIsolationLevel", optional=true)
104 @Param(name="isIsolationGuaranteed", alias = "isIsolationLevelGuaranteed", optional=true, defaultValue="true")
107 @Param(name="isConnectValidateReq", alias = "isConnectionValidationRequired", optional=true, defaultValue="false")
110 @Param(name = "validationMethod", optional=true, alias = "connectionValidationMethod", acceptableValues="auto-commit,meta-data,table,custom-validation", defaultValue = "table")
113 @Param(name="validationTable", alias = "validationTableName", optional=true)
116 @Param(name="failConnection", alias = "failAllConnections", optional=true, defaultValue="false")
125 @Param(name="validateAtMostOncePeriod", alias
[all...]
/glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/
H A DApplicationSignedJARManager.java71 * class ultimately associates each JAR with at most one alias with which
75 * be unsigned.) By organizing the signed JARs by the signing alias used for each,
76 * we can easily find all JARs signed by a given alias and then list them
80 * of times, then invoke aliasToContent to retrieve the map from each alias to
98 * maps each alias to a map. map entries link the relative URI (used as the
101 * only one alias, even if a JAR is signed by multiple certs.
169 * 3. Adds to the map from alias to relative URIs signed with that alias.
190 * For each cert add an association between the signing alias and
198 final String alias
223 updateURIToAliases(final URI relURI, final String alias) argument
233 updateAliasToURIs(final URI relURI, final String alias) argument
382 processURI(final Set<URI> processedJARs, final Map<String,Map<URI,StaticContent>> selectedAliases, final URI relURI, final String alias) argument
[all...]
/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/
H A DParam.java147 * Returns an alias for the option.
151 * @return the parameter alias
153 public String alias() default "";
/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/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/core/kernel/src/main/java/com/sun/enterprise/v3/admin/commands/
H A DCreateThreadpool.java86 @Param(name="maxthreadpoolsize", optional=true, alias="maxThreadPoolSize", defaultValue = "5")
89 @Param(name="minthreadpoolsize", optional=true, alias="minThreadPoolSize", defaultValue = "2")
92 @Param(name= "idletimeout", optional=true, alias="idleThreadTimeoutSeconds", defaultValue = "900")
98 @Param(name="maxqueuesize", optional=true, alias="maxQueueSize", defaultValue = "4096")

Completed in 4084 milliseconds

1234