[JBoss JIRA] (WFLY-7432) KeyStore requires set CredentialReference which is optional.
by Hynek Švábek (JIRA)
[ https://issues.jboss.org/browse/WFLY-7432?page=com.atlassian.jira.plugin.... ]
Hynek Švábek updated WFLY-7432:
-------------------------------
Description:
In EAP7.1.0.DR7 keystore uses credentialReference with clear-text attribute for password instead of password attribute.
But there is problem with credential reference element which is optional.
Please set this element on mandatory with respect to this issue https://issues.jboss.org/browse/WFLY-7125
was:
In EAP7.1.0.DR7 keystore uses credentialReference with clear-text attribute for password instead of password attribute.
But there is problem with credential reference element which is optional.
*Scenario:*
I want to create KeyStore with minimum required settings.
But this CLI command */subsystem=elytron/key-store=keyStore:add(type=JKS)* ends with error
{
"outcome" => "failed",
"failure-description" => {
"WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.security.credential-store-client.org.jboss.as.controller.security.CredentialReference"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => ["org.wildfly.security.key-store.keyStore is missing [org.wildfly.security.credential-store-client.org.jboss.as.controller.security.CredentialReference]"]
},
"rolled-back" => true
}
Resource description says this
{code}
"credential-reference" => {
"type" => OBJECT,
"description" => "The reference to credential stored in CredentialStore under defined alias or clear text password.",
"expressions-allowed" => false,
"nillable" => true,
"value-type" => {
"store" => {
"type" => STRING,
"description" => "The name of the credential store holding the alias to credential.",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"alias" => {
"type" => STRING,
"description" => "The alias which denotes stored secret or credential in the store.",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"type" => {
"type" => STRING,
"description" => "The type of credential this reference is denoting.",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
},
"clear-text" => {
"type" => STRING,
"description" => "Secret specified using clear text. Check credential store way of supplying credential/secrets to services.",
"expressions-allowed" => false,
"nillable" => true,
"min-length" => 1L,
"max-length" => 2147483647L
}
},
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "no-services"
},
{code}
*NOTE*
EAP7.1.0.DR6 works fine with "password" attribute.
> KeyStore requires set CredentialReference which is optional.
> ------------------------------------------------------------
>
> Key: WFLY-7432
> URL: https://issues.jboss.org/browse/WFLY-7432
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Reporter: Hynek Švábek
> Assignee: Peter Skopek
>
> In EAP7.1.0.DR7 keystore uses credentialReference with clear-text attribute for password instead of password attribute.
> But there is problem with credential reference element which is optional.
> Please set this element on mandatory with respect to this issue https://issues.jboss.org/browse/WFLY-7125
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
7 years, 6 months
[JBoss JIRA] (WFLY-7024) read-resource operation of jaxrs subsystem must provide more information about end-point
by Lin Gao (JIRA)
[ https://issues.jboss.org/browse/WFLY-7024?page=com.atlassian.jira.plugin.... ]
Lin Gao updated WFLY-7024:
--------------------------
Description:
show-resources operation of jaxrs subsystem must provide more informations about end-point. Information about parameters and returned value should be provided.
Example:
{code:java}
@GET
@Path("entity/get")
@Produces(MediaType.APPLICATION_JSON)
public Person post3(@QueryParam("boolean") @DefaultValue("false") boolean v) {
Person per = new Person();
per.setName("per");
per.setFamily("son");
return per;
}
{code}
Actual return value of {{/deployment=jaxrs-eap.war/subsystem=jaxrs:show-resources}}:
{noformat}
{
"resource-class" => "org.resteasy.simple.deployment.AdvancedService",
"resource-path" => "/sample/entity/get",
"resource-methods" => ["GET /jaxrs-eap/a/sample/entity/get - org.resteasy.simple.deployment.AdvancedService.post3(...)"]
},
{noformat}
There should be information about "boolean v" parameter and about returned type (Person).
---
-jax-rs subsystem should be able to collect some statistics about invocation of end-points (count of invocations, execution time, etc.)-
-Some statistics could be be activated and printed, only if end-point is also EJB bean, example:-
-/subsystem=ejb3:write-attribute(name=enable-statistics,value=true)-
-/deployment=cdiexp-1.0-SNAPSHOT.jar/subsystem=ejb3/stateless-session-bean=Servicer:read-resource(include-runtime=true)-
*NOTE*: after discussion, the show-resources() operation is deprecated, the output should be integrated into read-resource() operation in a child resource
was:
show-resources operation of jaxrs subsystem must provide more informations about end-point. Information about parameters and returned value should be provided.
Example:
{code:java}
@GET
@Path("entity/get")
@Produces(MediaType.APPLICATION_JSON)
public Person post3(@QueryParam("boolean") @DefaultValue("false") boolean v) {
Person per = new Person();
per.setName("per");
per.setFamily("son");
return per;
}
{code}
Actual return value of {{/deployment=jaxrs-eap.war/subsystem=jaxrs:show-resources}}:
{noformat}
{
"resource-class" => "org.resteasy.simple.deployment.AdvancedService",
"resource-path" => "/sample/entity/get",
"resource-methods" => ["GET /jaxrs-eap/a/sample/entity/get - org.resteasy.simple.deployment.AdvancedService.post3(...)"]
},
{noformat}
There should be information about "boolean v" parameter and about returned type (Person).
---
-jax-rs subsystem should be able to collect some statistics about invocation of end-points (count of invocations, execution time, etc.)-
-Some statistics could be be activated and printed, only if end-point is also EJB bean, example:-
-/subsystem=ejb3:write-attribute(name=enable-statistics,value=true)-
-/deployment=cdiexp-1.0-SNAPSHOT.jar/subsystem=ejb3/stateless-session-bean=Servicer:read-resource(include-runtime=true)-
> read-resource operation of jaxrs subsystem must provide more information about end-point
> ----------------------------------------------------------------------------------------
>
> Key: WFLY-7024
> URL: https://issues.jboss.org/browse/WFLY-7024
> Project: WildFly
> Issue Type: Feature Request
> Components: REST
> Reporter: Lin Gao
> Assignee: Lin Gao
> Priority: Critical
> Original Estimate: 2 days
> Remaining Estimate: 2 days
>
> show-resources operation of jaxrs subsystem must provide more informations about end-point. Information about parameters and returned value should be provided.
> Example:
> {code:java}
> @GET
> @Path("entity/get")
> @Produces(MediaType.APPLICATION_JSON)
> public Person post3(@QueryParam("boolean") @DefaultValue("false") boolean v) {
> Person per = new Person();
> per.setName("per");
> per.setFamily("son");
> return per;
> }
> {code}
> Actual return value of {{/deployment=jaxrs-eap.war/subsystem=jaxrs:show-resources}}:
> {noformat}
> {
> "resource-class" => "org.resteasy.simple.deployment.AdvancedService",
> "resource-path" => "/sample/entity/get",
> "resource-methods" => ["GET /jaxrs-eap/a/sample/entity/get - org.resteasy.simple.deployment.AdvancedService.post3(...)"]
> },
> {noformat}
> There should be information about "boolean v" parameter and about returned type (Person).
> ---
> -jax-rs subsystem should be able to collect some statistics about invocation of end-points (count of invocations, execution time, etc.)-
> -Some statistics could be be activated and printed, only if end-point is also EJB bean, example:-
> -/subsystem=ejb3:write-attribute(name=enable-statistics,value=true)-
> -/deployment=cdiexp-1.0-SNAPSHOT.jar/subsystem=ejb3/stateless-session-bean=Servicer:read-resource(include-runtime=true)-
> *NOTE*: after discussion, the show-resources() operation is deprecated, the output should be integrated into read-resource() operation in a child resource
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
7 years, 6 months
[JBoss JIRA] (WFLY-7024) read-resource operation of jaxrs subsystem must provide more information about end-point
by Lin Gao (JIRA)
[ https://issues.jboss.org/browse/WFLY-7024?page=com.atlassian.jira.plugin.... ]
Lin Gao updated WFLY-7024:
--------------------------
Summary: read-resource operation of jaxrs subsystem must provide more information about end-point (was: show-resources operation of jaxrs subsystem must provide more information about end-point)
> read-resource operation of jaxrs subsystem must provide more information about end-point
> ----------------------------------------------------------------------------------------
>
> Key: WFLY-7024
> URL: https://issues.jboss.org/browse/WFLY-7024
> Project: WildFly
> Issue Type: Feature Request
> Components: REST
> Reporter: Lin Gao
> Assignee: Lin Gao
> Priority: Critical
> Original Estimate: 2 days
> Remaining Estimate: 2 days
>
> show-resources operation of jaxrs subsystem must provide more informations about end-point. Information about parameters and returned value should be provided.
> Example:
> {code:java}
> @GET
> @Path("entity/get")
> @Produces(MediaType.APPLICATION_JSON)
> public Person post3(@QueryParam("boolean") @DefaultValue("false") boolean v) {
> Person per = new Person();
> per.setName("per");
> per.setFamily("son");
> return per;
> }
> {code}
> Actual return value of {{/deployment=jaxrs-eap.war/subsystem=jaxrs:show-resources}}:
> {noformat}
> {
> "resource-class" => "org.resteasy.simple.deployment.AdvancedService",
> "resource-path" => "/sample/entity/get",
> "resource-methods" => ["GET /jaxrs-eap/a/sample/entity/get - org.resteasy.simple.deployment.AdvancedService.post3(...)"]
> },
> {noformat}
> There should be information about "boolean v" parameter and about returned type (Person).
> ---
> -jax-rs subsystem should be able to collect some statistics about invocation of end-points (count of invocations, execution time, etc.)-
> -Some statistics could be be activated and printed, only if end-point is also EJB bean, example:-
> -/subsystem=ejb3:write-attribute(name=enable-statistics,value=true)-
> -/deployment=cdiexp-1.0-SNAPSHOT.jar/subsystem=ejb3/stateless-session-bean=Servicer:read-resource(include-runtime=true)-
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
7 years, 6 months
[JBoss JIRA] (WFCORE-1912) Redeploy deployment if all missing dependencies for deployment are corrected
by Miroslav Novak (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1912?page=com.atlassian.jira.plugi... ]
Miroslav Novak commented on WFCORE-1912:
----------------------------------------
Can this be set on deployment and not on deploy operation? The issue which was discussed in forum is that server boots and starts deploy of MDB with @Resource dependency to queue. Deployment fails because queue is not deployed yet. Queue gets deployed later (for example after Artemis live server activates after failback and deploys all its JNDI resources like queues and connection factories to JNDI) and MDB notices it and automatically redeploys.
> Redeploy deployment if all missing dependencies for deployment are corrected
> -----------------------------------------------------------------------------
>
> Key: WFCORE-1912
> URL: https://issues.jboss.org/browse/WFCORE-1912
> Project: WildFly Core
> Issue Type: Enhancement
> Components: Server
> Reporter: Miroslav Novak
> Assignee: Jason Greene
>
> If deployment failed to deploy and later all missing dependencies for deployment are corrected then deployment would redeploy automatically. This behavior could be configurable.
> For example if you deploy EJB which injects queue like:
> {code}
> @Resource(mappedName = "java:/jms/queue/OutQueue")
> private Queue outQueue;
> {code}
> and administrator deploys queue later then EJB would automatically get redeployed.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
7 years, 6 months