public class MiddlewareAuthentication
extends org.springframework.security.authentication.UsernamePasswordAuthenticationToken
| Constructor and Description |
|---|
MiddlewareAuthentication(Object principal,
BearerTokenTO credentials,
Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) |
MiddlewareAuthentication(Object principal,
Object credentials) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAccountInfoAccess(String iban) |
boolean |
checkLoginToken(String scaId,
String authorizationId) |
boolean |
checkPaymentInitAccess(String iban) |
boolean |
checkTokenUsage(String usageType) |
BearerTokenTO |
getBearerToken() |
eraseCredentials, getCredentials, getPrincipal, setAuthenticatedequals, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails, toStringpublic MiddlewareAuthentication(Object principal, BearerTokenTO credentials, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
public BearerTokenTO getBearerToken()
public boolean checkAccountInfoAccess(String iban)
public boolean checkPaymentInitAccess(String iban)
public boolean checkTokenUsage(String usageType)
Copyright © 2019. All rights reserved.