[JBoss JIRA] (WFLY-8995) Add Elytron Kerberos tests for native management interface
by Josef Cacek (JIRA)
Josef Cacek created WFLY-8995:
---------------------------------
Summary: Add Elytron Kerberos tests for native management interface
Key: WFLY-8995
URL: https://issues.jboss.org/browse/WFLY-8995
Project: WildFly
Issue Type: Task
Components: Test Suite
Reporter: Josef Cacek
Priority: Critical
Add Kerberos SASL mechanisms (GSSAPI, GS2-KRB5*) tests into AS TS.
This is follow-up task for JBEAP-11194/WFCORE-2881. As the ApacheDS is only used in the TS of full WildFly, the new tests won't be placed into core, but into full ({{testsuite/integration/elytron}}).
This task relates to RFE EAP7-142.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (ELY-1263) Coverity, Dereference null return value (PeriodicRotatingFileAuditEndpoint)
by Martin Choma (JIRA)
Martin Choma created ELY-1263:
---------------------------------
Summary: Coverity, Dereference null return value (PeriodicRotatingFileAuditEndpoint)
Key: ELY-1263
URL: https://issues.jboss.org/browse/ELY-1263
Project: WildFly Elytron
Issue Type: Bug
Reporter: Martin Choma
Assignee: Darran Lofthouse
Coverity found potential dereference of null object , because {{file.getParentFile()}} can return null in some circumstances.
{code}
@Override
protected void preWrite(Instant instant) {
final long recordMillis = instant.toEpochMilli();
if (recordMillis >= nextRollover) {
try {
final File file = getFile();
if (file == null) {
// no file is set; a direct output stream or writer was specified
return;
}
closeStreams(); // close the original file (some OSes won't let you move/rename a file that is open)
final Path target = file.getParentFile().toPath().resolve(file.getName() + nextSuffix);
Files.move(file.toPath(), target, StandardCopyOption.REPLACE_EXISTING);
setFile(file);
} catch (IOException e) {
audit.unableToRotateLogFile(e);
}
calcNextRollover(recordMillis);
}
}
{code}
Coverity found
https://scan7.coverity.com/reports.htm#v23632/p11778/fileInstanceId=25046...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (ELY-1263) Coverity, Dereference null return value (PeriodicRotatingFileAuditEndpoint)
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/ELY-1263?page=com.atlassian.jira.plugin.s... ]
Martin Choma updated ELY-1263:
------------------------------
Description:
Coverity found potential dereference of null object , because {{file.getParentFile()}} can return null in some circumstances.
{code:java|title=PeriodicRotatingFileAuditEndpoint.java}
@Override
protected void preWrite(Instant instant) {
final long recordMillis = instant.toEpochMilli();
if (recordMillis >= nextRollover) {
try {
final File file = getFile();
if (file == null) {
// no file is set; a direct output stream or writer was specified
return;
}
closeStreams(); // close the original file (some OSes won't let you move/rename a file that is open)
final Path target = file.getParentFile().toPath().resolve(file.getName() + nextSuffix);
Files.move(file.toPath(), target, StandardCopyOption.REPLACE_EXISTING);
setFile(file);
} catch (IOException e) {
audit.unableToRotateLogFile(e);
}
calcNextRollover(recordMillis);
}
}
{code}
https://scan7.coverity.com/reports.htm#v23632/p11778/fileInstanceId=25046...
was:
Coverity found potential dereference of null object , because {{file.getParentFile()}} can return null in some circumstances.
{code}
@Override
protected void preWrite(Instant instant) {
final long recordMillis = instant.toEpochMilli();
if (recordMillis >= nextRollover) {
try {
final File file = getFile();
if (file == null) {
// no file is set; a direct output stream or writer was specified
return;
}
closeStreams(); // close the original file (some OSes won't let you move/rename a file that is open)
final Path target = file.getParentFile().toPath().resolve(file.getName() + nextSuffix);
Files.move(file.toPath(), target, StandardCopyOption.REPLACE_EXISTING);
setFile(file);
} catch (IOException e) {
audit.unableToRotateLogFile(e);
}
calcNextRollover(recordMillis);
}
}
{code}
Coverity found
https://scan7.coverity.com/reports.htm#v23632/p11778/fileInstanceId=25046...
> Coverity, Dereference null return value (PeriodicRotatingFileAuditEndpoint)
> ---------------------------------------------------------------------------
>
> Key: ELY-1263
> URL: https://issues.jboss.org/browse/ELY-1263
> Project: WildFly Elytron
> Issue Type: Bug
> Reporter: Martin Choma
> Assignee: Darran Lofthouse
>
> Coverity found potential dereference of null object , because {{file.getParentFile()}} can return null in some circumstances.
>
> {code:java|title=PeriodicRotatingFileAuditEndpoint.java}
> @Override
> protected void preWrite(Instant instant) {
> final long recordMillis = instant.toEpochMilli();
> if (recordMillis >= nextRollover) {
> try {
> final File file = getFile();
> if (file == null) {
> // no file is set; a direct output stream or writer was specified
> return;
> }
> closeStreams(); // close the original file (some OSes won't let you move/rename a file that is open)
> final Path target = file.getParentFile().toPath().resolve(file.getName() + nextSuffix);
> Files.move(file.toPath(), target, StandardCopyOption.REPLACE_EXISTING);
> setFile(file);
> } catch (IOException e) {
> audit.unableToRotateLogFile(e);
> }
> calcNextRollover(recordMillis);
> }
> }
> {code}
> https://scan7.coverity.com/reports.htm#v23632/p11778/fileInstanceId=25046...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (WFLY-8994) Server started with blocking=true times out only on a slave host
by Osamu Nagano (JIRA)
Osamu Nagano created WFLY-8994:
----------------------------------
Summary: Server started with blocking=true times out only on a slave host
Key: WFLY-8994
URL: https://issues.jboss.org/browse/WFLY-8994
Project: WildFly
Issue Type: Bug
Components: Domain Management
Affects Versions: 10.1.0.Final
Reporter: Osamu Nagano
Assignee: Brian Stansberry
Attachments: repro.zip
We use system property {{jboss.as.management.blocking.timeout}} for a slow starting server to avoid a timeout on startup. It works for a server on the master host-controller but doesn't work a server on a slave host.
Suppose a heavy application, for example, sleeping more than 300 seconds in {{ServletContext#contextInitialized()}}, is deployed and system property {{jboss.as.management.blocking.timeout}} is set in domain.xml to avoid timeout. Under the following domain configuration, {{server-one}} fails to start if {{blocking=true}} is specified.
* master
** server-zero:start(blocking=true) => Success
* slave
** server-one:start(blocking=true) => Fail
{code}
[domain@localhost:9990 /] /host=slave/server-config=server-one:start(blocking=true)
{
"outcome" => "failed",
"result" => undefined,
"failure-description" => "WFLYCTL0409: Execution of operation 'start' on remote process at address '[(\"host\" => \"slave\")]' timed out after 305000 ms while awaiting initial response; remote process has been notified to terminate operation",
"rolled-back" => true
}
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (WFCORE-3004) credential-store operation read-aliases should be read-only
by Chao Wang (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3004?page=com.atlassian.jira.plugi... ]
Chao Wang moved JBEAP-11771 to WFCORE-3004:
-------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-3004 (was: JBEAP-11771)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Domain Management
Security
(was: Domain Management)
(was: Security)
Affects Version/s: 3.0.0.Beta27
(was: 7.1.0.ER1)
> credential-store operation read-aliases should be read-only
> -----------------------------------------------------------
>
> Key: WFCORE-3004
> URL: https://issues.jboss.org/browse/WFCORE-3004
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management, Security
> Affects Versions: 3.0.0.Beta27
> Reporter: Chao Wang
> Assignee: Chao Wang
> Priority: Minor
>
> credential-store operation read-aliases should be read-only, it only reads, does not modify
> {code}
> [standalone@embedded /] /subsystem=elytron/credential-store=test:read-operation-description(name=read-aliases
> {
> "outcome" => "success",
> "result" => {
> "operation-name" => "read-aliases",
> "description" => "Read aliases (entries) from a credential store.",
> "request-properties" => {},
> "reply-properties" => {},
> "read-only" => false,
> "runtime-only" => true
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months