[JBoss JIRA] (JBREM-1336) [GSS](7.0.x) Authentication via remoting fail for larger requests i.e. long password
by Wolf-Dieter Fink (JIRA)
Wolf-Dieter Fink created JBREM-1336:
---------------------------------------
Summary: [GSS](7.0.x) Authentication via remoting fail for larger requests i.e. long password
Key: JBREM-1336
URL: https://issues.jboss.org/browse/JBREM-1336
Project: JBoss Remoting
Issue Type: Bug
Components: general, security
Reporter: Wolf-Dieter Fink
Assignee: David Lloyd
If the client use authentication and the passwords is really long, the SASL request or kerberos ticket is huge the attempt will fail.
In the same environment authentication for other users work correct.
The shown message within the server log is
TRACE [org.jboss.remoting.remote.connection handleEvent] (Remoting "gravity" read-1) Connection error detail: java.io.IOException: Received an invalid message length of 11857
at org.xnio.channels.FramedMessageChannel.receive(FramedMessageChannel.java:106) [xnio-api-3.0.15.GA.jar:3.0.15.GA]
at org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial.handleEvent(ServerConnectionOpenListener.java:229) [jboss-remoting-3.3.6.Final.jar:3.3.6.Final]
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 3 months
[JBoss JIRA] (WFLY-7950) Coverity static analysis: Non-Serializable SecurityIdentity is contained in Serializable ElytronAccount
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/WFLY-7950?page=com.atlassian.jira.plugin.... ]
Martin Choma updated WFLY-7950:
-------------------------------
Affects Version/s: 11.0.0.Alpha1
> Coverity static analysis: Non-Serializable SecurityIdentity is contained in Serializable ElytronAccount
> -------------------------------------------------------------------------------------------------------
>
> Key: WFLY-7950
> URL: https://issues.jboss.org/browse/WFLY-7950
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Affects Versions: 11.0.0.Alpha1
> Reporter: Martin Choma
> Assignee: Darran Lofthouse
>
> Coverity static analysis found Serializable ElytronAccount contains non-Serializable SecurityIdentity.
> https://scan7.coverity.com/reports.htm#v23632/p12664/fileInstanceId=84867...
> Please resolve this inconsistent situation.
> By dev feedback SecurityIdentity can't be made Serializable. Rework to remove SecurityIdentity from ElytronAccount was suggested.
> {code:title=hipchat.log}
> [3:23 PM] Martin Choma: Shouldn't be SecurityIdentity Serializable? - because of HttpSession replication?
> [3:23 PM] Darran Lofthouse: No it can't be
> [3:24 PM] Darran Lofthouse: it is backed by implementation as well as state
> [3:25 PM] David M. Lloyd: right it would essentially be a security hole to be able to deserialize an identity
> [3:26 PM] David M. Lloyd: among other problems
> [3:26 PM] Darran Lofthouse: on the far side we restore the identity instead of deserializing it
> [3:31 PM] Martin Choma: I got it. Thing is static analyzer is complaining elytron-web ElytronAccount (Serializable class) is referencing SecurityIdentity, but probably problem is ElytronAccount does not have to be mark as Serializable, right?
> [3:34 PM] Darran Lofthouse: @MartinChoma we may be able to re-work that and remove the reference to SI
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 3 months
[JBoss JIRA] (WFLY-7950) Coverity static analysis: Non-Serializable SecurityIdentity is contained in Serializable ElytronAccount
by Martin Choma (JIRA)
Martin Choma created WFLY-7950:
----------------------------------
Summary: Coverity static analysis: Non-Serializable SecurityIdentity is contained in Serializable ElytronAccount
Key: WFLY-7950
URL: https://issues.jboss.org/browse/WFLY-7950
Project: WildFly
Issue Type: Bug
Components: Security
Reporter: Martin Choma
Assignee: Darran Lofthouse
Coverity static analysis found Serializable ElytronAccount contains non-Serializable SecurityIdentity.
https://scan7.coverity.com/reports.htm#v23632/p12664/fileInstanceId=84867...
Please resolve this inconsistent situation.
By dev feedback SecurityIdentity can't be made Serializable. Rework to remove SecurityIdentity from ElytronAccount was suggested.
{code:title=hipchat.log}
[3:23 PM] Martin Choma: Shouldn't be SecurityIdentity Serializable? - because of HttpSession replication?
[3:23 PM] Darran Lofthouse: No it can't be
[3:24 PM] Darran Lofthouse: it is backed by implementation as well as state
[3:25 PM] David M. Lloyd: right it would essentially be a security hole to be able to deserialize an identity
[3:26 PM] David M. Lloyd: among other problems
[3:26 PM] Darran Lofthouse: on the far side we restore the identity instead of deserializing it
[3:31 PM] Martin Choma: I got it. Thing is static analyzer is complaining elytron-web ElytronAccount (Serializable class) is referencing SecurityIdentity, but probably problem is ElytronAccount does not have to be mark as Serializable, right?
[3:34 PM] Darran Lofthouse: @MartinChoma we may be able to re-work that and remove the reference to SI
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 3 months
[JBoss JIRA] (WFLY-7949) Missing a simple way to enable Elytron
by Josef Cacek (JIRA)
Josef Cacek created WFLY-7949:
---------------------------------
Summary: Missing a simple way to enable Elytron
Key: WFLY-7949
URL: https://issues.jboss.org/browse/WFLY-7949
Project: WildFly
Issue Type: Bug
Components: Security
Reporter: Josef Cacek
Assignee: Darran Lofthouse
Priority: Critical
There should be a simple way (e.g. a CLI script provided with AS distribution) which would enable the Elytron in subsystems. As the {{standalone-elytron.xml}} profile was removed now, users don't have a one-step way to use the Elytron.
I've put some CLI commands together for my testing, but I doubt this is a complete solution:
http://javlog.cacek.cz/2017/01/enable-elytron-in-wildfly.html
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 3 months