전체 글(847)
-
Spring boot Security 각 Class 역할
DaoAuthenticationProvider: 로그인 처리 프로세스 정의SimpleUrlAuthenticationSuccessHandler: 로그인 성공했을 때 처리 로직 정의AuthenticationDetailsSource: ID/Password 이외 추가 항목 생성WebAuthenticationDetails: ID/Password 이외 추가 항목 파라메터 처리
2024.09.08 -
Sencha tabpanel에 close icon(x) 추가
closable을 사용하면 됨(default는 false임) { region: 'center', xtype: 'tabpanel', name: 'content', items: [{ title: 'Main', closable: true }] }
2024.09.07 -
Spring boot Security /logout 실행시, blocked:mixed-content 에러
참고: https://velog.io/@mineru/spring-mixed-content-error Spring Security Redirect Location이 Mixed Content로 차단되는 경우Spring Security Redirect Location으로 HTTP를 내려받았을 때, Mixed Content(Https에서 Http를 호출하는 경우) 이슈가 발생한 경우 처리하는 방법velog.iohttps://insanelysimple.tistory.com/204 spring boot 로그인 실패 시 후속 작업 (리다이렉트)spring boot 로그인 실패 시 후속 작업 (리다이렉트) AuthenticationFailureHandler implements 한 후, @Component 달아주면 됨...
2024.09.03 -
Sencha form ajax
Clientbuttons: [ { text: 'Submit', handler: function(button) { let form = button.up('form').getForm(); if(form.isValid()) { form.submit({ url: '/test', method: 'POST', waitMsg: 'Submitting your data...', success: function(form, action) { let response = Ext.decode(action.response.responseText); if(response.data == 1) { // controller 함수..
2024.09.01 -
Sencha Form combobox
display와 value가 같을 경우 { xtype: 'combobox', itemId: 'twofa', fieldLabel: '2FA 여부', store: [ 'Y', 'N' ], displayField: 'field1', valueField: 'field1' },display와 value가 다를 경우 { xtype: 'combobox', itemId: 'twofa', fieldLabel: '2FA 여부', store: { data: [ { name: '예', value: 'Y' }, { name: '아니요', value: 'N' } ] }, displayField: 'name', valueField: 'value' },
2024.09.01 -
Sencha 'itemId' 다루기
해당 페이지에서만 의미 있는 IDAjax의 결과 Binding 하기생략 items: [ { xtype: 'textfield', itemId: 'id', fieldLabel: 'ID', name: 'id', allowBlank: false, readOnly: true }, { xtype: 'textfield', itemId: 'name', fieldLabel: 'Name', name: 'name', allowBlank: false, }, ],생략 onAfterRender: function(eOpts) { let me = this; Ext.Ajax.request({ url: '/test', method: 'POST', success..
2024.09.01