@SuppressWarnings("rawtypes")
    @Override
    public void stop(StopContext context) {
        // remove handlers
        Set handlerKeys = PolicyContext.getHandlerKeys();
        handlerKeys.remove(SecurityConstants.CALLBACK_HANDLER_KEY);
        handlerKeys.remove(SecurityConstants.SUBJECT_CONTEXT_KEY);

        // Install the policy provider that existed on startup
        if (initializeJacc && jaccPolicy != null)
            Policy.setPolicy(oldPolicy);
    }
@SuppressWarnings("rawtypes")
    @Override
    public void stop(StopContext context) {
        
        Set handlerKeys = PolicyContext.getHandlerKeys();
        handlerKeys.remove(SecurityConstants.CALLBACK_HANDLER_KEY);
        handlerKeys.remove(SecurityConstants.SUBJECT_CONTEXT_KEY);

        
        if (initializeJacc && jaccPolicy != null)
            Policy.setPolicy(oldPolicy);
    }
@ SuppressWarnings ( "rawtypes" ) @ Override public void stop ( StopContext context ) { // remove handlers Set handlerKeys = PolicyContext . getHandlerKeys ( ) ; handlerKeys . remove ( SecurityConstants . CALLBACK_HANDLER_KEY ) ; handlerKeys . remove ( SecurityConstants . SUBJECT_CONTEXT_KEY ) ; // Install the policy provider that existed on startup if ( initializeJacc && jaccPolicy != null ) Policy . setPolicy ( oldPolicy ) ; }
{@inheritDoc}
{