Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
bubblev
/
cobbzilla-wizard
Observar
6
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
1
Wiki
Atividade
Ver código fonte
return unauthorized instead of forbidden when session is required
tags/2.0.1
Jonathan Cobb
4 anos atrás
pai
5510f2d656
commit
360ea80674
1 arquivos alterados
com
1 adições
e
1 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+1
-1
wizard-server/src/main/java/org/cobbzilla/wizard/resources/ResourceUtil.java
+ 1
- 1
wizard-server/src/main/java/org/cobbzilla/wizard/resources/ResourceUtil.java
Ver arquivo
@@ -210,7 +210,7 @@ public class ResourceUtil {
log.debug("userPrincipal: "+e);
user = null;
}
if (required && user == null) throw
forbidden
Ex();
if (required && user == null) throw
unauthorized
Ex();
return user;
}
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar