public boolean revokeAllResourcePermissions ( String subjectid ) { if ( ! StringUtils . isBlank ( subjectid ) && getResourcePermissions ( ) . containsKey ( subjectid ) ) { getResourcePermissions ( ) . remove ( subjectid ) ; return true ; } return false ; }
Revokes all permissions for a subject id .