security/subsystem/src/main/java/org/jboss/as/security/service/SecurityBootstrapService.java
@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) {
        // 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 ) { // 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}
{