Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HouariZegai/FullStack-Angular-SpringBoot
/ functions
Functions
133 in github.com/HouariZegai/FullStack-Angular-SpringBoot
⨍
Functions
133
◇
Types & classes
64
↓ 4 callers
Method
getId
()
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/model/Customer.java:27
↓ 3 callers
Method
getClaimFromToken
(String token, Function<Claims, T> claimsResolver)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtTokenUtil.java:44
↓ 3 callers
Method
getUsername
()
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtUserDetails.java:37
↓ 3 callers
Method
getUsernameFromToken
(String token)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtTokenUtil.java:32
↓ 3 callers
Method
loadUserByUsername
(String username)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtInMemoryUserDetailsService.java:24
↓ 2 callers
Method
calculateExpirationDate
(Date createdDate)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtTokenUtil.java:97
↓ 2 callers
Method
deleteById
(long id)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/service/CustomerService.java:40
↓ 2 callers
Method
findById
(long id)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/service/CustomerService.java:50
↓ 2 callers
Method
getAllClaimsFromToken
(String token)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtTokenUtil.java:49
↓ 2 callers
Method
getAuthenticatedUser
()
crm-frontend/src/app/service/basic-authentication.service.ts:52
↓ 2 callers
Method
getUsername
()
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/resource/JwtTokenRequest.java:25
↓ 2 callers
Method
handleSuccessfulResponse
(response)
crm-frontend/src/app/welcome/welcome.component.ts:41
↓ 2 callers
Method
isTokenExpired
(String token)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtTokenUtil.java:53
↓ 2 callers
Method
retrieveAllCustomers
()
crm-frontend/src/app/customers/customers.component.ts:37
↓ 2 callers
Method
save
(Customer customer)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/service/CustomerService.java:28
↓ 1 callers
Method
addCustomer
()
crm-frontend/src/app/customers/customers.component.ts:46
↓ 1 callers
Method
authenticate
(username, password)
crm-frontend/src/app/service/hardcoded-authentication.service.ts:10
↓ 1 callers
Method
authenticate
(String username, String password)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/resource/JwtAuthenticationRestController.java:69
↓ 1 callers
Method
canTokenBeRefreshed
(String token)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtTokenUtil.java:76
↓ 1 callers
Method
doGenerateToken
(Map<String, Object> claims, String subject)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtTokenUtil.java:68
↓ 1 callers
Method
executeAuthenticationService
(username, password)
crm-frontend/src/app/service/basic-authentication.service.ts:33
↓ 1 callers
Method
executeHelloWorldBeanService
()
crm-frontend/src/app/service/data/welcome-data.service.ts:16
↓ 1 callers
Method
executeHelloWorldServiceWithPathVariable
(name: string)
crm-frontend/src/app/service/data/welcome-data.service.ts:20
↓ 1 callers
Method
executeJWTAuthenticationService
(username: string, password: string)
crm-frontend/src/app/service/basic-authentication.service.ts:16
↓ 1 callers
Method
findAll
()
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/service/CustomerService.java:24
↓ 1 callers
Method
generateToken
(UserDetails userDetails)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtTokenUtil.java:63
↓ 1 callers
Method
getAuthenticatedToken
()
crm-frontend/src/app/service/basic-authentication.service.ts:56
↓ 1 callers
Method
getAuthorities
()
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtUserDetails.java:66
↓ 1 callers
Method
getExpirationDateFromToken
(String token)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtTokenUtil.java:40
↓ 1 callers
Method
getMessage
()
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/helloworld/HelloWorldBean.java:10
↓ 1 callers
Method
getPassword
()
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/resource/JwtTokenRequest.java:33
↓ 1 callers
Method
getTitleText
()
crm-frontend/e2e/src/app.po.ts:8
↓ 1 callers
Method
handleErrorResponse
(error)
crm-frontend/src/app/welcome/welcome.component.ts:46
↓ 1 callers
Method
ignoreTokenExpiration
(String token)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtTokenUtil.java:58
↓ 1 callers
Method
isUserLoggedIn
()
crm-frontend/src/app/service/basic-authentication.service.ts:61
↓ 1 callers
Method
logout
()
crm-frontend/src/app/service/basic-authentication.service.ts:66
↓ 1 callers
Method
navigateTo
()
crm-frontend/e2e/src/app.po.ts:4
↓ 1 callers
Method
passwordEncoderBean
()
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JWTWebSecurityConfig.java:45
↓ 1 callers
Method
refreshToken
(String token)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtTokenUtil.java:80
↓ 1 callers
Method
retrieveCustomer
(username: string, id: number)
crm-frontend/src/app/service/data/customer-data.service.ts:18
↓ 1 callers
Method
setId
(Long id)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/model/Customer.java:31
↓ 1 callers
Method
setPassword
(String password)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/resource/JwtTokenRequest.java:37
↓ 1 callers
Method
setUsername
(String username)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/resource/JwtTokenRequest.java:29
↓ 1 callers
Method
updateCustomer
(id)
crm-frontend/src/app/customers/customers.component.ts:50
↓ 1 callers
Method
validateToken
(String token, UserDetails userDetails)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtTokenUtil.java:91
Method
AuthenticationException
(String message, Throwable cause)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/resource/AuthenticationException.java:4
Method
BasicAuthentication
(String message)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/model/BasicAuthentication.java:6
Method
Customer
()
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/model/Customer.java:16
Method
HelloWorldBean
(String message)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/helloworld/HelloWorldBean.java:6
Method
JwtTokenRequest
()
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/resource/JwtTokenRequest.java:16
Method
JwtTokenResponse
(String token)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/resource/JwtTokenResponse.java:11
Method
JwtUserDetails
(Long id, String username, String password, String role)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtUserDetails.java:21
Method
addCustomer
(username: string, customer: Customer)
crm-frontend/src/app/service/data/customer-data.service.ts:22
Method
authenticationManagerBean
()
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JWTWebSecurityConfig.java:50
Method
basicAuth
()
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/controller/BasicAuthenticationController.java:12
Method
canActivate
(route: ActivatedRouteSnapshot, state: RouterStateSnapshot)
crm-frontend/src/app/service/route-guard.service.ts:12
Method
commence
(HttpServletRequest request, HttpServletResponse response, AuthenticationException auth
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtUnAuthorizedResponseAuthenticationEntryPoint.java:17
Method
configure
(HttpSecurity httpSecurity)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JWTWebSecurityConfig.java:56
Method
configure
(HttpSecurity http)
crm-rest/src/main/java/com/houarizegai/crm/basic/auth/SpringSecurityConfigBasicAuth.java:13
Method
configureGlobal
(AuthenticationManagerBuilder auth)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JWTWebSecurityConfig.java:38
Method
constructor
( public id: number, public name: string, public birthDate: Date, public email: string)
crm-frontend/src/app/customers/customers.component.ts:8
Method
constructor
(private service: CustomerDataService, private router: Router, private toastr: ToastrService)
crm-frontend/src/app/customers/customers.component.ts:28
Method
constructor
()
crm-frontend/src/app/footer/footer.component.ts:10
Method
constructor
(private http: HttpClient)
crm-frontend/src/app/service/basic-authentication.service.ts:14
Method
constructor
(public message: string)
crm-frontend/src/app/service/basic-authentication.service.ts:73
Method
constructor
()
crm-frontend/src/app/service/hardcoded-authentication.service.ts:8
Method
constructor
(private hardcodedAuthenticationService: HardcodedAuthenticationService, private router: Router)
crm-frontend/src/app/service/route-guard.service.ts:10
Method
constructor
(private basicAuthenticationService: BasicAuthenticationService)
crm-frontend/src/app/service/http/http-intercepter-basic-auth.service.ts:10
Method
constructor
(private http: HttpClient)
crm-frontend/src/app/service/data/customer-data.service.ts:12
Method
constructor
(public message: string)
crm-frontend/src/app/service/data/welcome-data.service.ts:6
Method
constructor
(private http: HttpClient)
crm-frontend/src/app/service/data/welcome-data.service.ts:14
Method
constructor
(private hardcodedAuthenticationService: HardcodedAuthenticationService)
crm-frontend/src/app/menu/menu.component.ts:13
Method
constructor
(private route: ActivatedRoute, private service: WelcomeDataService)
crm-frontend/src/app/welcome/welcome.component.ts:19
Method
constructor
( private router: Router, private hardcodedAuthenticationService: HardcodedAuthenticationService,
crm-frontend/src/app/login/login.component.ts:24
Method
constructor
(private service: CustomerDataService, private route: ActivatedRoute, private router: Router)
crm-frontend/src/app/customer-form/customer-form.component.ts:16
Method
constructor
()
crm-frontend/src/app/error/error.component.ts:12
Method
constructor
(private hardcodedAuthenticateService: HardcodedAuthenticationService)
crm-frontend/src/app/logout/logout.component.ts:11
Method
contextLoads
()
crm-rest/src/test/java/com/houarizegai/crm/CrmRestApplicationTests.java:12
Method
createAuthenticationToken
(@RequestBody JwtTokenRequest authenticationRequest)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/resource/JwtAuthenticationRestController.java:36
Method
createCustomer
(@PathVariable String username, @RequestBody Customer customer)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/controller/CustomerController.java:44
Method
deleteCustomer
(id)
crm-frontend/src/app/customers/customers.component.ts:55
Method
deleteCustomer
(username: string, id: number)
crm-frontend/src/app/service/data/customer-data.service.ts:30
Method
deleteCustomer
(@PathVariable String username, @PathVariable long id)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/controller/CustomerController.java:55
Method
doFilterInternal
(HttpServletRequest request, HttpServletResponse response, FilterChain chain)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtTokenAuthorizationOncePerRequestFilter.java:36
Method
getAllCustomers
(@PathVariable String username)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/controller/CustomerController.java:25
Method
getBirthDate
()
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/model/Customer.java:43
Method
getCustomer
(@PathVariable String username, @PathVariable long id)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/controller/CustomerController.java:31
Method
getEmail
()
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/model/Customer.java:51
Method
getId
()
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtUserDetails.java:32
Method
getIssuedAtDateFromToken
(String token)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtTokenUtil.java:36
Method
getMessage
()
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/model/BasicAuthentication.java:10
Method
getName
()
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/model/Customer.java:35
Method
getPassword
()
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/JwtUserDetails.java:60
Method
getToken
()
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/resource/JwtTokenResponse.java:15
Method
getWelcomeMessage
()
crm-frontend/src/app/welcome/welcome.component.ts:27
Method
getWelcomeMessageWithPathVariable
()
crm-frontend/src/app/welcome/welcome.component.ts:35
Method
handleAuthenticationException
(AuthenticationException e)
crm-rest/src/main/java/com/houarizegai/crm/restfulwebservices/jwt/resource/JwtAuthenticationRestController.java:64
Method
handleBasicAuthLogin
(form: NgForm)
crm-frontend/src/app/login/login.component.ts:49
Method
handleJWTAuthLogin
(form: NgForm)
crm-frontend/src/app/login/login.component.ts:64
Method
handleLogin
(form: NgForm)
crm-frontend/src/app/login/login.component.ts:39
next →
1–100 of 133, ranked by callers