Hi,

The authcBasic filter will generate a UsernamePasswordToken
(username+password), so it needs a Realm able to deal with
UsernamePasswordToken.
The casFilter will generate a CasToken (CAS service ticket), so it needs a
CasRealm to handle it.
You can't mix both as they don't use the same information.
Best regards,
Jérôme



2014-03-14 17:50 GMT+01:00 skybird [via Shiro User] <
[email protected]>:

> Can I use the same casRealm that I have already defined for the /web/**
> urls? If so, how can I configure /api/** to use the already defined realm
> for authcBasic?
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://shiro-user.582556.n2.nabble.com/authcBasic-with-shiro-cas-tp7579708p7579759.html
>  To start a new topic under Shiro User, email
> [email protected]
> To unsubscribe from Shiro User, click 
> here<http://shiro-user.582556.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=582556&code=bGVsZXVqQGdtYWlsLmNvbXw1ODI1NTZ8LTExNzY2MzcxMTY=>
> .
> NAML<http://shiro-user.582556.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/authcBasic-with-shiro-cas-tp7579708p7579760.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to