[jira] [Commented] (ISIS-1121) Integ Tests: allow them to simulate a new Authentication Session

2016-12-01 Thread Vladimir Nisevic (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15711610#comment-15711610
 ] 

Vladimir Nisevic commented on ISIS-1121:


We are using security add on in combination with our enterprise active 
directory as authentication instance. 

I want to make integration test, e.g.: 

Given a new user (type delegated account) with username USERNAME
When the user tries to login 
Then the authentication goes against out active directory

I see that Integration Test bypasses security mechanism per default, and 
SudoService currently doesn't support authentication, since it has only the 
username as parameter.

I guess this feature addresses exactly my requirement? 

> Integ Tests: allow them to simulate a new Authentication Session
> 
>
> Key: ISIS-1121
> URL: https://issues.apache.org/jira/browse/ISIS-1121
> Project: Isis
>  Issue Type: Improvement
>  Components: Core
>Affects Versions: core-1.8.0
>Reporter: Oscar Bou
> Fix For: 1.17.0
>
>
> There are some integration tests where the authentication context used can be 
> relevant (i.e., for testing Application Tenancy configured through the Isis 
> Security Add-on).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (ISIS-1121) Integ Tests: allow them to simulate a new Authentication Session

2016-07-12 Thread Dan Haywood (JIRA)

[ 
https://issues.apache.org/jira/browse/ISIS-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15374341#comment-15374341
 ] 

Dan Haywood commented on ISIS-1121:
---

It's possible this is now supported using SudoService.  Alternatively, 
SessionService could perhaps be extended to allow a different user account to 
be specified.

> Integ Tests: allow them to simulate a new Authentication Session
> 
>
> Key: ISIS-1121
> URL: https://issues.apache.org/jira/browse/ISIS-1121
> Project: Isis
>  Issue Type: Improvement
>  Components: Core
>Affects Versions: core-1.8.0
>Reporter: Oscar Bou
>Assignee: Dan Haywood
> Fix For: 1.15.0
>
>
> There are some integration tests where the authentication context used can be 
> relevant (i.e., for testing Application Tenancy configured through the Isis 
> Security Add-on).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)