public static SimplePageDecorator first ( ) { List < SimplePageDecorator > decorators = all ( ) ; return decorators . isEmpty ( ) ? null : decorators . get ( 0 ) ; }
The first found LoginDecarator there can only be one .