public void removeRoleToRunAsMapping ( String appName ) { Map < String , RunAs > roleToRunAsMap = roleToRunAsMappingPerApp . get ( appName ) ; if ( roleToRunAsMap != null ) { roleToRunAsMap . clear ( ) ; } appToSecurityRolesMap . remove ( appName ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "Updated the appToSecurityRolesMap: " + appToSecurityRolesMap . toString ( ) ) ; } removeRoleToWarningMapping ( appName ) ; }
Removes the role to RunAs mappings for a given application .