use of org.apache.qpid.server.security.auth.SocketConnectionMetaData in project qpid-broker-j by apache.
the class HttpManagementActorTest method setUp.
@Override
public void setUp() throws Exception {
super.setUp();
_connectionPrincipal = new ManagementConnectionPrincipal() {
@Override
public String getType() {
return "HTTP";
}
@Override
public String getSessionId() {
return SESSION_ID;
}
@Override
public SocketAddress getRemoteAddress() {
return new InetSocketAddress(IP, PORT);
}
@Override
public SocketConnectionMetaData getConnectionMetaData() {
return null;
}
@Override
public String getName() {
return getRemoteAddress().toString();
}
};
}
Aggregations