Rev 227 | Rev 259 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 227 | Rev 242 | ||
|---|---|---|---|
| Line 2... | Line 2... | ||
| 2 | 2 | ||
| 3 | import javax.inject.Inject; |
3 | import javax.inject.Inject; |
| - | 4 | import javax.inject.Named; |
|
| 4 | 5 | ||
| 5 | import org.springframework.stereotype.Controller; |
- | |
| - | 6 | import org.springframework.context.annotation.Scope; |
|
| 6 | 7 | ||
| 7 | import br.com.ec.domain.dto.UsuarioDTO; |
8 | import br.com.ec.domain.dto.UsuarioDTO; |
| 8 | import br.com.ec.domain.service.ContextoSeguranca; |
9 | import br.com.ec.domain.service.ContextoSeguranca; |
| 9 | import br.com.ec.domain.service.PerfilService; |
10 | import br.com.ec.domain.service.PerfilService; |
| 10 | import br.com.ec.domain.service.UsuarioService; |
11 | import br.com.ec.domain.service.UsuarioService; |
| 11 | import br.com.ec.web.exception.VerificadorLancamentoException; |
12 | import br.com.ec.web.exception.VerificadorLancamentoException; |
| 12 | import br.com.ec.web.exception.VerificadorLancamentoException.CommandBean; |
13 | import br.com.ec.web.exception.VerificadorLancamentoException.CommandBean; |
| 13 | import br.com.ec.web.message.LancadorMensagem; |
14 | import br.com.ec.web.message.LancadorMensagem; |
| 14 | 15 | ||
| 15 | @Controller |
- | |
| - | 16 | @Named |
|
| - | 17 | @Scope("view") |
|
| 16 | public class SegurancaBean { |
18 | public class SegurancaBean { |
| 17 | 19 | ||
| 18 | private UsuarioDTO usuarioDTO; |
20 | private UsuarioDTO usuarioDTO; |
| 19 | private String senhaAtual; |
21 | private String senhaAtual; |
| 20 | private String novaSenha; |
22 | private String novaSenha; |