return utGreeter;
}
public SecureGreeterPortType getSAMLGreeter() {
if (samlGreeter == null) {
SecureGreeterService service = new SecureGreeterService(wsdl, SERVICE_NAME);
samlGreeter = service.getPort(SAML_PORT_NAME, SecureGreeterPortType.class);
((BindingProvider)samlGreeter).getRequestContext()
.put("ws-security.signature.username", "alice");
((BindingProvider)samlGreeter).getRequestContext()
.put("ws-security.encryption.username", "bob");