private void setUpTemporaryServerSubject() throws Exception {
        temporarySubject = new Subject();
        temporarySubject.getPrivateCredentials().add(recreatedToken);
        String securityName = AccessIdUtil.getUniqueId(accessId);
        setWSPrincipal(temporarySubject, securityName, accessId, WSPrincipal.AUTH_METHOD_TOKEN);
        setCredentials(temporarySubject, securityName, null);
        setOtherPrincipals(temporarySubject, securityName, accessId, WSPrincipal.AUTH_METHOD_TOKEN, null);
    }
private void setUpTemporaryServerSubject ( ) throws Exception { temporarySubject = new Subject ( ) ; temporarySubject . getPrivateCredentials ( ) . add ( recreatedToken ) ; String securityName = AccessIdUtil . getUniqueId ( accessId ) ; setWSPrincipal ( temporarySubject , securityName , accessId , WSPrincipal . AUTH_METHOD_TOKEN ) ; setCredentials ( temporarySubject , securityName , null ) ; setOtherPrincipals ( temporarySubject , securityName , accessId , WSPrincipal . AUTH_METHOD_TOKEN , null ) ; }
@see #setUpTemporaryUserSubject()
@throws Exception