[JBoss JIRA] (WFCORE-2545) Principal with null name causes hidden NPE for chained-principal-transformer
by Ondrej Lukas (JIRA)
Ondrej Lukas created WFCORE-2545:
------------------------------------
Summary: Principal with null name causes hidden NPE for chained-principal-transformer
Key: WFCORE-2545
URL: https://issues.jboss.org/browse/WFCORE-2545
Project: WildFly Core
Issue Type: Bug
Components: Security
Reporter: Ondrej Lukas
Assignee: Darran Lofthouse
Priority: Critical
In case when Principal with null name is used in {{chain}} of {{org.wildfly.extension.elytron.capabilities.PrincipalTransformer}} then this method throw NullPointerException which is hidden to user due to JBEAP-9625.
This issue can be simply reproduced by using regex-validating-principal-transformer and user which does not match given pattern. Then Principal name is set to null which results to following NPE:
{code}
java.lang.NullPointerException:
java.util.regex.Matcher.getTextLength(Matcher.java:1283)
java.util.regex.Matcher.reset(Matcher.java:309)
java.util.regex.Matcher.<init>(Matcher.java:229)
java.util.regex.Pattern.matcher(Pattern.java:1093)
org.wildfly.security.auth.util.RegexNameRewriter.rewriteName(RegexNameRewriter.java:55)
org.wildfly.security.auth.server.NameRewriter.lambda$asPrincipalRewriter$1(NameRewriter.java:63)
org.wildfly.extension.elytron.capabilities.PrincipalTransformer.lambda$chain$1(PrincipalTransformer.java:64)
...
{code}
Since there is no related documentation or javadoc it is also possible that issue is rather in regex-validating-principal-transformer which could set Principal to null instead of Principal name to null. It must be clarified by engineering.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (ELY-1006) Elytron Audit Logging does not support log file rotation
by Jan Tymel (JIRA)
[ https://issues.jboss.org/browse/ELY-1006?page=com.atlassian.jira.plugin.s... ]
Jan Tymel reassigned ELY-1006:
------------------------------
Assignee: (was: Darran Lofthouse)
> Elytron Audit Logging does not support log file rotation
> --------------------------------------------------------
>
> Key: ELY-1006
> URL: https://issues.jboss.org/browse/ELY-1006
> Project: WildFly Elytron
> Issue Type: Bug
> Reporter: Jan Tymel
> Priority: Blocker
> Attachments: deployment.war
>
>
> It is not possible to rotate (= rename current log file and start logging into a new one) Elytron Audit log files. It cannot be set to use the log rotation neither based on the file size (e.g. once the file size outreaches 100 MB) nor based on a time period (e.g. rotate create a new file every Sunday at midnight).
> Inability to set the log rotation could lead to huge log files. Then it would be really difficult to read such files.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (ELY-1006) Elytron Audit Logging does not support log file rotation
by Jan Tymel (JIRA)
[ https://issues.jboss.org/browse/ELY-1006?page=com.atlassian.jira.plugin.s... ]
Jan Tymel updated ELY-1006:
---------------------------
Attachment: deployment.war
> Elytron Audit Logging does not support log file rotation
> --------------------------------------------------------
>
> Key: ELY-1006
> URL: https://issues.jboss.org/browse/ELY-1006
> Project: WildFly Elytron
> Issue Type: Bug
> Reporter: Jan Tymel
> Priority: Blocker
> Attachments: deployment.war
>
>
> It is not possible to rotate (= rename current log file and start logging into a new one) Elytron Audit log files. It cannot be set to use the log rotation neither based on the file size (e.g. once the file size outreaches 100 MB) nor based on a time period (e.g. rotate create a new file every Sunday at midnight).
> Inability to set the log rotation could lead to huge log files. Then it would be really difficult to read such files.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (ELY-1006) Elytron Audit Logging does not support log file rotation
by Jan Tymel (JIRA)
Jan Tymel created ELY-1006:
------------------------------
Summary: Elytron Audit Logging does not support log file rotation
Key: ELY-1006
URL: https://issues.jboss.org/browse/ELY-1006
Project: WildFly Elytron
Issue Type: Bug
Reporter: Jan Tymel
Assignee: Darran Lofthouse
Priority: Blocker
It is not possible to rotate (= rename current log file and start logging into a new one) Elytron Audit log files. It cannot be set to use the log rotation neither based on the file size (e.g. once the file size outreaches 100 MB) nor based on a time period (e.g. rotate create a new file every Sunday at midnight).
Inability to set the log rotation could lead to huge log files. Then it would be really difficult to read such files.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (WFLY-5504) Servers are missing in the list of servers in a server group in the web console
by Claudio Miranda (JIRA)
[ https://issues.jboss.org/browse/WFLY-5504?page=com.atlassian.jira.plugin.... ]
Claudio Miranda closed WFLY-5504.
---------------------------------
Assignee: Claudio Miranda (was: Heiko Braun)
Resolution: Cannot Reproduce Bug
Cannot reproduce the problem, if you feel this is wrong, reopen please.
> Servers are missing in the list of servers in a server group in the web console
> -------------------------------------------------------------------------------
>
> Key: WFLY-5504
> URL: https://issues.jboss.org/browse/WFLY-5504
> Project: WildFly
> Issue Type: Bug
> Components: Web Console
> Affects Versions: 10.0.0.CR2
> Environment: Debian 8, Java 8u60, wildfly 10.0.0.CR2 in domain mode
> Reporter: Thiago Presa
> Assignee: Claudio Miranda
> Attachments: bug1.png, bug3.png, bug4.png
>
>
> I created a server-group for an application in a wildfly running in domain mode. This wildfly cluster is composed of a master node and two slave nodes.
> I then created two servers in this server group in the two slave nodes.
> When I ask through the web console to view details of those servers, they show up correctly:
> !bug1.png|thumbnail!
> !bug4.png|thumbnail!
> However, when listing the servers in the cdl server group, only one of them is listed:
> !bug3.png|thumbnail!
> As far as I've checked, XMLs are OK, there are no Exceptions in the logs and the application is running fine. Please let me know if further info is necessary.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month