[JBoss JIRA] (ELY-838) Ability to obtain SecurityIdentity without requiring LoginPermission
by David Lloyd (JIRA)
[ https://issues.jboss.org/browse/ELY-838?page=com.atlassian.jira.plugin.sy... ]
David Lloyd commented on ELY-838:
---------------------------------
You should be able to do this via:
{code}
newIdentity = domain.getAnonymousIdentity().createRunAsIdentity(name, false);
{code}
The "false" flag disables the auth check. You do need a secmgr permission to do this though (obviously).
> Ability to obtain SecurityIdentity without requiring LoginPermission
> --------------------------------------------------------------------
>
> Key: ELY-838
> URL: https://issues.jboss.org/browse/ELY-838
> Project: WildFly Elytron
> Issue Type: Enhancement
> Components: API / SPI
> Reporter: Darran Lofthouse
> Priority: Critical
> Fix For: 1.1.0.Beta18
>
>
> Integrations such as the batch subsystem within WildFly have the requirement to re-create a previous SecurityIdentity by name using their referenced SecurityDomain, however as this identity may have been inflowed the LoginPermission can not be assumed.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (ELY-838) Ability to obtain SecurityIdentity without requiring LoginPermission
by Darran Lofthouse (JIRA)
Darran Lofthouse created ELY-838:
------------------------------------
Summary: Ability to obtain SecurityIdentity without requiring LoginPermission
Key: ELY-838
URL: https://issues.jboss.org/browse/ELY-838
Project: WildFly Elytron
Issue Type: Enhancement
Components: API / SPI
Reporter: Darran Lofthouse
Priority: Critical
Fix For: 1.1.0.Beta18
Integrations such as the batch subsystem within WildFly have the requirement to re-create a previous SecurityIdentity by name using their referenced SecurityDomain, however as this identity may have been inflowed the LoginPermission can not be assumed.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (ELY-837) Clean up provider usage and definition in XML config
by David Lloyd (JIRA)
David Lloyd created ELY-837:
-------------------------------
Summary: Clean up provider usage and definition in XML config
Key: ELY-837
URL: https://issues.jboss.org/browse/ELY-837
Project: WildFly Elytron
Issue Type: Task
Components: XML
Reporter: David Lloyd
Priority: Critical
We are very inconsistent about how we're defining and using providers in the XML configuration. We need to meet the following requirements:
* Provide a single top-level element from the substitution group {{abstract-providers}} that specifies the providers to use in the absence of any other configuration; default to {{use-system-providers}}
* Update the following types (or appropriate enclosing type) to accept an optional nested {{abstract-providers}} override:
** {{key-store-type}}
** {{credential-store-type}}
** {{hashed-password-type}}
* Update the following types to use an optional {{provider}} *attribute* (not nested element) to allow selection of a specific provider:
** {{credential-store-type}}
** {{key-store-type}} -- already done!
** {{hashed-password-type}}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (LOGTOOL-124) Ability to provide exception producer
by David Lloyd (JIRA)
David Lloyd created LOGTOOL-124:
-----------------------------------
Summary: Ability to provide exception producer
Key: LOGTOOL-124
URL: https://issues.jboss.org/browse/LOGTOOL-124
Project: Log Tool
Issue Type: Feature Request
Reporter: David Lloyd
Priority: Minor
Sometimes you must use the same exception message for many different types of exception. It would be nice if you could give a parameter which can produce an exception, like this:
{code}
public interface MyLogs {
// ...
@Message(id = 1234, "The operation failed due to %s")
<T extends Throwable> T operationFailed(@Producer Function<String, T> fn, String thing);
}
{code}
And later at usage:
{code}
// ...
throw MyLogs.log.operationFailed(IOException::new, "thingy");
{code}
A valid function parameter must return a type which is equal or assignable to the return type, and is assignable to Throwable. Other than that, it can be treated the same as as if you were dealing with a constructor class that has exactly one constructor, using the same matching/inference logic, meaning you could also accept BiFunction which accepts two arguments.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months
[JBoss JIRA] (WFCORE-2123) node path not properly completed in some commands
by Jean-Francois Denise (JIRA)
Jean-Francois Denise created WFCORE-2123:
--------------------------------------------
Summary: node path not properly completed in some commands
Key: WFCORE-2123
URL: https://issues.jboss.org/browse/WFCORE-2123
Project: WildFly Core
Issue Type: Bug
Components: CLI
Reporter: Jean-Francois Denise
Assignee: Jean-Francois Denise
/deployment- is not properly completed for ls,cd,read-attribute and read-operation.
That is due to an invalid completer that does validate the content of the path when parsing it.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 4 months