[jira] Updated: (WICKET-3257) Make getSignInPage() Method Public

2010-12-16 Thread James Carman (JIRA)

 [ 
https://issues.apache.org/jira/browse/WICKET-3257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Carman updated WICKET-3257:
-

Attachment: (was: WICKET-3257.patch)

> Make getSignInPage() Method Public
> --
>
> Key: WICKET-3257
> URL: https://issues.apache.org/jira/browse/WICKET-3257
> Project: Wicket
>  Issue Type: Improvement
>  Components: wicket-auth-roles
>Affects Versions: 1.5-M3
>Reporter: James Carman
>
> I have a situation where I need to be able to get the sign in page class 
> outside the context of the AuthenticatedWebApplication class itself (or a 
> subclass).  Basically, I've got a Spring Security framework that's going to 
> register a custom exception mapper (that wraps the default one).  If it sees 
> an AuthenticationCredentialsNotFoundException, it needs to throw a 
> RestartResponseAtInterceptPage(getSignInPage()).  But, getSignInPage() is 
> protected in AuthenticatedWebApplication.  Unless there are very compelling 
> reasons not to do so, can we open that up?  Patch coming...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (WICKET-3257) Make getSignInPage() Method Public

2010-12-16 Thread James Carman (JIRA)

 [ 
https://issues.apache.org/jira/browse/WICKET-3257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Carman updated WICKET-3257:
-

Attachment: WICKET-3257.patch

Here's my patch.

> Make getSignInPage() Method Public
> --
>
> Key: WICKET-3257
> URL: https://issues.apache.org/jira/browse/WICKET-3257
> Project: Wicket
>  Issue Type: Improvement
>  Components: wicket-auth-roles
>Affects Versions: 1.5-M3
>Reporter: James Carman
> Attachments: WICKET-3257.patch
>
>
> I have a situation where I need to be able to get the sign in page class 
> outside the context of the AuthenticatedWebApplication class itself (or a 
> subclass).  Basically, I've got a Spring Security framework that's going to 
> register a custom exception mapper (that wraps the default one).  If it sees 
> an AuthenticationCredentialsNotFoundException, it needs to throw a 
> RestartResponseAtInterceptPage(getSignInPage()).  But, getSignInPage() is 
> protected in AuthenticatedWebApplication.  Unless there are very compelling 
> reasons not to do so, can we open that up?  Patch coming...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.