[
https://issues.jboss.org/browse/WFLY-2510?page=com.atlassian.jira.plugin....
]
Claudio Miranda commented on WFLY-2510:
---------------------------------------
The implementation is done, see the result
1) local connection as SuperUser and SSL
[standalone@localhost:9993 /] connection-info
Username - Local connection authenticated as SuperUser
Logged since - Sun Aug 10 00:09:33 BRT 2014
Subject - CN=mgmt-connector,OU=jboss,O=jboss,L=Brasilia,ST=DF,C=BR
Issuer - CN=mgmt-connector, OU=jboss, O=jboss, L=Brasilia, ST=DF, C=BR
Valid From - Fri Aug 08 01:13:16 BRT 2014
Valid To - Thu Nov 06 02:13:16 BRST 2014
SHA1 - fa:25:f4:cf:57:89:ce:ff:97:82:9d:b4:c8:b1:67:ef:b3:08:a8:b4
MD5 - e6:67:14:c7:86:84:d3:22:14:21:e7:43:09:05:a4:7f
2) Authenticated user and SSL
[standalone@localhost:9993 /] connection-info
Username - admin
Logged since - Sun Aug 10 00:11:52 BRT 2014
Subject - CN=mgmt-connector,OU=jboss,O=jboss,L=Brasilia,ST=DF,C=BR
Issuer - CN=mgmt-connector, OU=jboss, O=jboss, L=Brasilia, ST=DF, C=BR
Valid From - Fri Aug 08 01:13:16 BRT 2014
Valid To - Thu Nov 06 02:13:16 BRST 2014
SHA1 - fa:25:f4:cf:57:89:ce:ff:97:82:9d:b4:c8:b1:67:ef:b3:08:a8:b4
MD5 - e6:67:14:c7:86:84:d3:22:14:21:e7:43:09:05:a4:7f
3) Authenticated user and not ssl
[standalone@localhost:9990 /] connection-info
Username - admin
Logged since - Sun Aug 10 00:12:39 BRT 2014
Not an SSL connection.
4) local connection as SuperUser and not ssl
[standalone@localhost:9990 /] connection-info
Username - admin
Logged since - Sun Aug 10 00:14:19 BRT 2014
Not an SSL connection.
Doest it need to print if it is in domain or standalone mode ?
Add CLI command to display information about current connection.
----------------------------------------------------------------
Key: WFLY-2510
URL:
https://issues.jboss.org/browse/WFLY-2510
Project: WildFly
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Components: CLI
Reporter: Darran Lofthouse
Assignee: Darran Lofthouse
Labels: management_security,
Fix For: Awaiting Volunteers
Would be useful for a single command to display information about the current
connection.
Definitely information about SSL, certificates, authenticated user, address etc...
Could also obtain other common info from server.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)