return session;
}
- public AuthorizationResult authorize( SecuritySession arg0, Object arg1 )
+ public AuthorizationResult authorize( SecuritySession arg0, String arg1 )
throws AuthorizationException
{
return null;
}
- public AuthorizationResult authorize( SecuritySession arg0, Object arg1, Object arg2 )
+ public AuthorizationResult authorize( SecuritySession arg0, String arg1, String arg2 )
throws AuthorizationException
{
AuthorizationResult result = new AuthorizationResult( true, arg1, null );
return false;
}
- public boolean isAuthorized( SecuritySession arg0, Object arg1 )
+ public boolean isAuthorized( SecuritySession arg0, String arg1 )
throws AuthorizationException
{
return false;
}
- public boolean isAuthorized( SecuritySession arg0, Object arg1, Object arg2 )
+ public boolean isAuthorized( SecuritySession arg0, String arg1, String arg2 )
throws AuthorizationException
{
if ( repoIds.contains( arg2 ) )
return new DefaultSecuritySession( result );
}
- public AuthorizationResult authorize( SecuritySession session, Object permission )
+ public AuthorizationResult authorize( SecuritySession session, String permission )
throws AuthorizationException
{
return new AuthorizationResult( true, session.getUser(), null );
}
- public AuthorizationResult authorize( SecuritySession session, Object permission, Object resource )
+ public AuthorizationResult authorize( SecuritySession session, String permission, String resource )
throws AuthorizationException
{
return new AuthorizationResult( true, session.getUser(), null );
return true;
}
- public boolean isAuthorized( SecuritySession session, Object permission )
+ public boolean isAuthorized( SecuritySession session, String permission )
throws AuthorizationException
{
// Always true
return true;
}
- public boolean isAuthorized( SecuritySession session, Object permission, Object resource )
+ public boolean isAuthorized( SecuritySession session, String permission, String resource )
throws AuthorizationException
{
// Always true