>
>
> 2012/6/26 José Luis Cetina
>
> > Ok, but when i use my own annottation as interpcetor and my
> checkPermission
> > method add a SecurityViolation my page never redirect to my
> > DefaultErrorView, i always get:
> >
> > PM org.apache.myfaces.context.servlet
port for Apache MyFaces
2012/6/26 José Luis Cetina
> Ok, but when i use my own annottation as interpcetor and my checkPermission
> method add a SecurityViolation my page never redirect to my
> DefaultErrorView, i always get:
>
> PM org.apache.myfaces.context.servlet.Ser
Ok, but when i use my own annottation as interpcetor and my checkPermission
method add a SecurityViolation my page never redirect to my
DefaultErrorView, i always get:
PM org.apache.myfaces.context.servlet.ServletExternalContextImpl
setResponseContentType
SEVERE: Cannot set content type. Response
erface Pages extends ViewConfig {
>
> public @Page class MyError extends DefaultErrorView implements Pages {}
>
> @SecurityModule(codigoModulo = ModuloPantallaEnum.CURSOS) //doesnt work
> public @Page class Private implements Pages{}
>
> }
>
>
> @javax.enterp
= Page.NavigationMode.REDIRECT)
public interface Pages extends ViewConfig {
public @Page class MyError extends DefaultErrorView implements Pages {}
@SecurityModule(codigoModulo = ModuloPantallaEnum.CURSOS) //doesnt work
public @Page class Private implements Pages{}
}
@javax.enterprise.context.ApplicationScoped
rofessional Support for Apache MyFaces
> >
> >
> >
> > 2012/6/25 José Luis Cetina
> >
> > > My denied page never shown, i always get Cannot set content type.
> > Response
> > > already committed.
> > >
> > >
> >
;
> 2012/6/25 José Luis Cetina
>
> > My denied page never shown, i always get Cannot set content type.
> Response
> > already committed.
> >
> >
> > I have this:
> >
> > @Page
> > public class Denegado extends DefaultErrorView{
> >
&g
English and German
Professional Support for Apache MyFaces
2012/6/25 José Luis Cetina
> My denied page never shown, i always get Cannot set content type. Response
> already committed.
>
>
> I have this:
>
> @Page
> public class Denegado extends DefaultErrorView{
>
&g
My denied page never shown, i always get Cannot set content type. Response
already committed.
I have this:
@Page
public class Denegado extends DefaultErrorView{
}
@Stereotype
@Target(value = {ElementType.TYPE})
@Retention(value = RetentionPolicy.RUNTIME)
@Secured(value
9 matches
Mail list logo