use of com.arjuna.webservices11.wsaddr.NativeEndpointReference in project narayana by jbosstm.
the class TxContextImple method isSecure.
public boolean isSecure() {
if (valid()) {
CoordinationContextType coordinationContextType = _context.getCoordinationContext();
W3CEndpointReference epref = coordinationContextType.getRegistrationService();
NativeEndpointReference nativeRef = EndpointHelper.transform(NativeEndpointReference.class, epref);
String address = nativeRef.getAddress();
return address.startsWith("https");
}
return false;
}
use of com.arjuna.webservices11.wsaddr.NativeEndpointReference in project narayana by jbosstm.
the class TxContextImple method isSecure.
public boolean isSecure() {
if (valid()) {
CoordinationContextType coordinationContextType = _context.getCoordinationContext();
W3CEndpointReference epref = coordinationContextType.getRegistrationService();
NativeEndpointReference nativeRef = EndpointHelper.transform(NativeEndpointReference.class, epref);
String address = nativeRef.getAddress();
return address.startsWith("https");
}
return false;
}
Aggregations