Package org.jboss.as.cli
Interface ConnectionInfo
-
- All Known Implementing Classes:
ConnectionInfoBean
public interface ConnectionInfoRetain information about the current connection to the server, the information is address, username, date and hour since logged in. If an SSL connection exposes the server certificate.- Author:
- Claudio Miranda
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ControllerAddressgetControllerAddress()Returns the Controller Address.DategetLoggedSince()X509Certificate[]getServerCertificates()StringgetUsername()booleanisDisableLocalAuth()
-
-
-
Method Detail
-
isDisableLocalAuth
boolean isDisableLocalAuth()
- Returns:
- true if disabled the local authentication mechanism
-
getUsername
String getUsername()
-
getLoggedSince
Date getLoggedSince()
-
getServerCertificates
X509Certificate[] getServerCertificates()
-
getControllerAddress
ControllerAddress getControllerAddress()
Returns the Controller Address. If a ModelControllerClient has been passed to the CommandContext and no connection occured, then the address is unknown.- Returns:
- The Controller Address if known. Otherwise returns null.
-
-