JAAS和Android的接取 [英] JAAS and acess from android

查看:241
本文介绍了JAAS和Android的接取的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我已经获得使用JAAS我的服务器和我进行网络鉴别,
现在我有使用Android应用程序移动应用程序进行身份验证,我们如何使用REST Web服务的身份验证后,为移动应用程序JAAS支持访问?
我有一个WS,让我以验证用户名和密码都是corect;山楂我可以访问此WS?
在Web应用程序存在容器鉴别所以这样做之后,我允许使用我所有的WS
有没有这样的事情任何android上?

Hi i have secured my server using JAAS and i have performed the web authentification , now i have to authenticate from mobile application using android app , how can we use the Rest web services after authentication , is JAAS support access from mobile app ? i have a ws that allow me to verify if the login and password are corect ; haw can i access this ws ? on the web app there is the container authentification so after doing this , i am allowed to use all my ws is there any thing like this on android ?

推荐答案

它是由执行WS从服务器获取authrization,当我叫WS我usuly给它一个查询参数至极是登录并通过解决,所以服务器,验证用户是否授权的操作或不使用JAAS我有注解@rolesallawed每个方法的顶部。

it was solved by performing a ws that get authrization from the server and when i call a ws i usuly give it a query param wich is the login and pass , so the server verify if the user is authorised to do the operation or not , using JAAS i have the annotation @rolesallawed on the top of each method .

这篇关于JAAS和Android的接取的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆