Package org.jboss.as.cli.impl
Class ConnectionInfoBean
- java.lang.Object
-
- org.jboss.as.cli.impl.ConnectionInfoBean
-
- All Implemented Interfaces:
ConnectionInfo
public class ConnectionInfoBean extends Object implements ConnectionInfo
- Author:
- Claudio Miranda
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ControllerAddressgetControllerAddress()Returns the Controller Address.DategetLoggedSince()X509Certificate[]getServerCertificates()StringgetUsername()booleanisDisableLocalAuth()
-
-
-
Method Detail
-
isDisableLocalAuth
public boolean isDisableLocalAuth()
- Specified by:
isDisableLocalAuthin interfaceConnectionInfo- Returns:
- true if disabled the local authentication mechanism
-
getUsername
public String getUsername()
- Specified by:
getUsernamein interfaceConnectionInfo
-
getLoggedSince
public Date getLoggedSince()
- Specified by:
getLoggedSincein interfaceConnectionInfo
-
getServerCertificates
public X509Certificate[] getServerCertificates()
- Specified by:
getServerCertificatesin interfaceConnectionInfo
-
getControllerAddress
public ControllerAddress getControllerAddress()
Description copied from interface:ConnectionInfoReturns the Controller Address. If a ModelControllerClient has been passed to the CommandContext and no connection occured, then the address is unknown.- Specified by:
getControllerAddressin interfaceConnectionInfo- Returns:
- The Controller Address if known. Otherwise returns null.
-
-