24.3.4.20. @EndpointProperty Annotations를 사용하여 WS-Security 구성

@WebService
@EndpointProperty(name="ws-security.callback-handler" value="interop.client.UTPasswordCallback")
@EndpointProperty(name="ws-security.signature.properties" value="etc/keystore.properties")
@EndpointProperty(name="ws-security.encryption.properties" value="etc/truststore.properties")
@EndpointProperty(name="ws-security.encryption.username" value="useReqSigCert")
public interface HelloWorld {
    String sayHi(@WebParam(name = "text") String text);
}
24.3.4.20.1. @EndpointProperties 주석

@EndpointProperties 주석은 org.apache.cxf.annotations.EndpointProperties 인터페이스에서 정의됩니다. 그것은 SEI에 배치되어 있습니다.

이 주석은 여러 @EndpointProperty 주석을 목록으로 그룹화하는 방법을 제공합니다. @EndpointProperties 를 사용하면 24.3.4.21절. “@EndpointProperties 주석을 사용하여 WS-Security 구성” 와 같이 24.3.4.20절. “@EndpointProperty Annotations를 사용하여 WS-Security 구성” 을 다시 쓸 수 있습니다.