Package io.jans.configapi.util
Class AuthUtil
java.lang.Object
io.jans.configapi.util.AuthUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignAllScope
(String clientId) boolean
containsAnyElement
(List<String> list1, List<String> list2) boolean
containsField
(List<Field> allFields, String attribute) decryptPassword
(String clientPassword) encryptPassword
(String clientPassword) findMissingElements
(List<String> list1, List<String> list2) io.jans.as.model.uma.wrapper.Token
getAccessToken
(String tokenUrl, String clientId, List<String> scopes) io.jans.configapi.model.configuration.AgamaConfiguration
getAllFields
(Class<?> type) getAllFields
(List<Field> fields, Class<?> type) getAllScopeList
(Map<io.jans.configapi.core.util.ProtectionScopeType, List<String>> scopeMap) String[]
getAllScopesArray
(List<String> scopes) io.jans.configapi.model.configuration.AuditLogConf
getAuthSpecificScopeRequired
(jakarta.ws.rs.container.ResourceInfo resourceInfo) io.jans.as.common.model.registration.Client
getClientDecryptPassword
(String clientId) getClientPassword
(String clientId) io.jans.configapi.model.configuration.DataFormatConversionConf
getInputStream
(ByteArrayOutputStream output) List<io.jans.configapi.model.configuration.PluginConf>
getRequestedScopes
(jakarta.ws.rs.container.ResourceInfo resourceInfo) getScopeWithDn
(List<String> scopes) getServiceUrl
(String url) boolean
isEqualCollection
(List<String> list1, List<String> list2) boolean
boolean
boolean
isValidIssuer
(String issuer) parseStringToDateObj
(String dateString) requestAccessToken
(String clientId, List<String> scope) io.jans.as.client.RevokeSessionResponse
revokeSession
(String url, String token, String userId) boolean
validateScope
(List<String> authScopes, List<String> resourceScopes)
-
Constructor Details
-
AuthUtil
public AuthUtil()
-
-
Method Details
-
getOpenIdConfigurationEndpoint
-
getAuthOpenidConfigurationUrl
-
getAuditLogConf
public io.jans.configapi.model.configuration.AuditLogConf getAuditLogConf() -
getDataFormatConversionConf
public io.jans.configapi.model.configuration.DataFormatConversionConf getDataFormatConversionConf() -
getPluginConf
-
getIssuer
-
getIntrospectionEndpoint
-
getTokenEndpoint
-
getEndSessionEndpoint
-
getServiceUrl
-
getClientId
-
getUserExclusionAttributes
-
getUserExclusionAttributesAsString
-
getUserMandatoryAttributes
-
getAgamaConfiguration
public io.jans.configapi.model.configuration.AgamaConfiguration getAgamaConfiguration() -
getTokenUrl
-
getTokenRevocationEndpoint
-
getClient
-
getClientPassword
-
getClientDecryptPassword
-
decryptPassword
-
encryptPassword
-
getRequestedScopes
-
validateScope
-
requestAccessToken
-
getAccessToken
-
assignAllScope
-
getAllScopes
-
getAllScopesArray
-
getScopeWithDn
-
isValidIssuer
-
getAuthSpecificScopeRequired
-
findMissingElements
-
containsAnyElement
-
isEqualCollection
-
containsField
-
getAllFields
-
getAllFields
-
isValidDn
-
isValidDn
-
revokeSession
-
getAllScopeList
-
parseStringToDateObj
-
getByteArrayOutputStream
- Throws:
IOException
-
getInputStream
-