WSS - Over views.

Overview of web Service Security

 

1. Wire-level Security

1) The client and Service need insurance for client and service sides

2) the sent data need be encrypted

3) the data should be integrity. The send data should be the same as the received data.

 

2. Authentication and Authorization

For Authentication, we need some credential information, like username and pin

 

For Authorization, if the user has passed authentication, you could get access the resource based on his role

 

HTTPs(Hyper text transport protocol over Secure Socket Layer), for now SSL has been renamed to TLS(Transport layer Security). But they differ in version number and 一些技术细节。

 

 

Https provider three critical security service over the transport services that HTTP proivdes

a. Peer Authentication -- mutual authentication or mutual challenge.

b. Confidentiality - make the  sent messages secrit by encrypting technology

c. Integrity - the sent and received message should be same, if not, the difference should be detected

 

 Peer Authentication ---it is finished by exchanging the certificates, But in many cases, it is only the client that challenge the server.

eg> 1>The customer's browser chanllenge the vendor's web server to authenticate itself and the 

the server response by sending one or more digital certificates to the browser.

2>The browser check the web server's digital sertificates against the brower's trust-store which is a database of digital certificates that the browser trusts.

3> the server typically does not chanlllenges the browser.

 

   <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" connectionTimeout="20000" redirectPort="8443" 
SSLEnabled="true"
   maxThreads="150"
   scheme="https"
   secure="true"
   clientAuth="false"
   sslProtocol="TLS" 
   keystoreFile="/conf/server.keystore"
   keystorePass="123456" />

  "clientAuth" is set to false, which tell tomcat does not chanllenge the client.

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值