[JBoss JIRA] (WFCORE-3236) CLI, looping over commands/operations
by Jean-Francois Denise (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3236?page=com.atlassian.jira.plugi... ]
Jean-Francois Denise reassigned WFCORE-3236:
--------------------------------------------
Assignee: Jean-Francois Denise
> CLI, looping over commands/operations
> -------------------------------------
>
> Key: WFCORE-3236
> URL: https://issues.jboss.org/browse/WFCORE-3236
> Project: WildFly Core
> Issue Type: Enhancement
> Components: CLI
> Reporter: Jean-Francois Denise
> Assignee: Jean-Francois Denise
>
> A support similar to Java iteration could be exposed by CLI. By leveraging the variable and the control flow CLI features, a command can be exposed to iterate collections and execute CLI commands/operations for each item present in the collection.
> Something like:
> for varName in :read-children-names(type=deployment)
> echo Manifest file in $varName
> attachment display --operation=/deployment=$varName:read-content(path=META-INF/MANIFEST.MF)
> done
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (WFCORE-3235) CLI command recorder
by Jean-Francois Denise (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3235?page=com.atlassian.jira.plugi... ]
Jean-Francois Denise reassigned WFCORE-3235:
--------------------------------------------
Assignee: Jean-Francois Denise
> CLI command recorder
> --------------------
>
> Key: WFCORE-3235
> URL: https://issues.jboss.org/browse/WFCORE-3235
> Project: WildFly Core
> Issue Type: Enhancement
> Components: CLI
> Reporter: Jean-Francois Denise
> Assignee: Jean-Francois Denise
>
> It has been identified a need to capture a set of commands in order to address 2 use cases:
> 1) Capture a set of commands in order to create an named command for this set of commands
> 2) Capture a set of commands and export it into a script file.
> Named command can then be executed from the CLI.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (WFCORE-3236) CLI, looping over commands/operations
by Jean-Francois Denise (JIRA)
Jean-Francois Denise created WFCORE-3236:
--------------------------------------------
Summary: CLI, looping over commands/operations
Key: WFCORE-3236
URL: https://issues.jboss.org/browse/WFCORE-3236
Project: WildFly Core
Issue Type: Enhancement
Reporter: Jean-Francois Denise
A support similar to Java iteration could be exposed by CLI. By leveraging the variable and the control flow CLI features, a command can be exposed to iterate collections and execute CLI commands/operations for each item present in the collection.
Something like:
for varName in :read-children-names(type=deployment)
echo Manifest file in $varName
attachment display --operation=/deployment=$varName:read-content(path=META-INF/MANIFEST.MF)
done
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (WFCORE-3235) CLI command recorder
by Jean-Francois Denise (JIRA)
Jean-Francois Denise created WFCORE-3235:
--------------------------------------------
Summary: CLI command recorder
Key: WFCORE-3235
URL: https://issues.jboss.org/browse/WFCORE-3235
Project: WildFly Core
Issue Type: Enhancement
Components: CLI
Reporter: Jean-Francois Denise
It has been identified a need to capture a set of commands in order to address 2 use cases:
1) Capture a set of commands in order to create an named command for this set of commands
2) Capture a set of commands and export it into a script file.
Named command can then be executed from the CLI.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (ELY-1066) Add a GSSCredential CredentialSource
by Jan Kalina (JIRA)
[ https://issues.jboss.org/browse/ELY-1066?page=com.atlassian.jira.plugin.s... ]
Jan Kalina commented on ELY-1066:
---------------------------------
LocalKerberosCredentialSource created and merged. Need to add into elytron XML config yet - need to be in coordination with ELY-1354
> Add a GSSCredential CredentialSource
> ------------------------------------
>
> Key: ELY-1066
> URL: https://issues.jboss.org/browse/ELY-1066
> Project: WildFly Elytron
> Issue Type: Enhancement
> Components: Credentials
> Reporter: Darran Lofthouse
> Assignee: Jan Kalina
> Priority: Blocker
> Fix For: 2.0.0.Alpha1
>
>
> Initially this should be minimal / no configuration to make a GSSCrdential available if the local user has a Kerberos ticket - at a later point we can review adding additional config such as client keytabs etc...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (ELY-1354) Increment WildFly Elytron schema version
by Darran Lofthouse (JIRA)
Darran Lofthouse created ELY-1354:
-------------------------------------
Summary: Increment WildFly Elytron schema version
Key: ELY-1354
URL: https://issues.jboss.org/browse/ELY-1354
Project: WildFly Elytron
Issue Type: Task
Components: Authentication Client
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Fix For: 1.2.0.Beta2
At the same time we need to review how we handle supporting multiple versions.
On one hand we can look at making our parser fairly permissive so if we are just adding it can support both old and new, the biggest advantage here is we can minimise code duplication.
The down side however is in the future it becomes very difficult to reverse and remove support for older schema.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (WFCORE-3147) Getting org.osgi.framework.AdminPermission check failed with security manager
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3147?page=com.atlassian.jira.plugi... ]
Darran Lofthouse reassigned WFCORE-3147:
----------------------------------------
Assignee: (was: Darran Lofthouse)
> Getting org.osgi.framework.AdminPermission check failed with security manager
> -----------------------------------------------------------------------------
>
> Key: WFCORE-3147
> URL: https://issues.jboss.org/browse/WFCORE-3147
> Project: WildFly Core
> Issue Type: Bug
> Components: Security
> Affects Versions: 3.0.0.Beta30
> Reporter: Martin Choma
> Priority: Trivial
> Attachments: sampleApp.war, sampleAppModified.war, standalone.xml
>
>
> Despite permission is granted in standalone.xml
> {code}
> <minimum-set>
> <permission class="org.osgi.framework.AdminPermission" name="(id=0)" actions="context"/>
> </minimum-set>
> {code}
> During deployment there is exception
> {code}
> java.security.AccessControlException: WFSM000001: Permission check failed (permission "("org.osgi.framework.AdminPermission" "(id=0)" "context")" in code source "(vfs:/content/myapp.war/WEB-INF/lib/org.eclipse.equinox.servletbridge_1.2.100.v20120209-2014.jar
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (WFCORE-3180) ElytronSubsystemMessages uses double quotes to surround string literals
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3180?page=com.atlassian.jira.plugi... ]
Darran Lofthouse reassigned WFCORE-3180:
----------------------------------------
Assignee: (was: Darran Lofthouse)
> ElytronSubsystemMessages uses double quotes to surround string literals
> -----------------------------------------------------------------------
>
> Key: WFCORE-3180
> URL: https://issues.jboss.org/browse/WFCORE-3180
> Project: WildFly Core
> Issue Type: Bug
> Components: Security
> Reporter: Brian Stansberry
> Priority: Minor
>
> Lots of things like this:
> @Message(id = 910, value = "Password cannot be resolved for key-store \"%s\"")
> Use ' instead of \". If the string ends up in a DMR ModelNode, which it often does, the output looks bad when double quotes are present.
> For this ModelNode
> ModelNode node = new ModelNode("Password cannot be resolved for key-store \"%s\"");
>
> A call to node.toString() produces
> "Password cannot be resolved for key-store \"%s\""
> node.asString() is better, but that requires a special call vs the standard Object.toString
> Password cannot be resolved for key-store "%s"
> This is minor since we can try to ensure asString is used or perhaps even consider changing how toString works. But I think single quotes are a better practice.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months