Class OAuthMockData
java.lang.Object
ch.admin.bit.jeap.oauth.mock.server.config.OAuthMockData
@Configuration
@ConfigurationProperties(prefix="oauth-mock-data")
@Validated
public class OAuthMockData
extends Object
Actual data to be used by the mock server
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintDefines the maximum number of characters allowed for the `userroles` and `bproles` claims in a token.getUsers()inthashCode()voidsetClients(List<ClientData> clients) voidsetRolesPruningLimit(int rolesPruningLimit) Defines the maximum number of characters allowed for the `userroles` and `bproles` claims in a token.voidsetUsers(List<OAuthMockData.UserData> users) toString()
-
Constructor Details
-
OAuthMockData
public OAuthMockData()
-
-
Method Details
-
clientsById
-
usersById
-
getClients
-
getUsers
-
getRolesPruningLimit
public int getRolesPruningLimit()Defines the maximum number of characters allowed for the `userroles` and `bproles` claims in a token. If the combined length exceeds this limit, these claims will be pruned. Optional. Default: 8000 characters. -
setClients
-
setUsers
-
setRolesPruningLimit
public void setRolesPruningLimit(int rolesPruningLimit) Defines the maximum number of characters allowed for the `userroles` and `bproles` claims in a token. If the combined length exceeds this limit, these claims will be pruned. Optional. Default: 8000 characters. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-