Commit 512d2f0fbbcc13813179ee4077f50b46dd167a4a
1 parent
1d26b63c
1.禁止wadl链接
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/server_rs/AuthorizeInterceptor_IN.java
| ... | ... | @@ -70,7 +70,7 @@ public class AuthorizeInterceptor_IN extends AbstractPhaseInterceptor<Message> i |
| 70 | 70 | //放行wadl |
| 71 | 71 | if(message.get(Message.QUERY_STRING).equals("_wadl") |
| 72 | 72 | && message.get(Message.PATH_INFO).equals("/webservice/rest")){ |
| 73 | - return ; | |
| 73 | + throw new AesException(AesException.INVALID_URI); | |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | //获取参数,不包括 url 路径参数 只包括?号之后的 | ... | ... |