Index

A C D E G H I M O P Q R S T U 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

action(AuthenticationFlowContext) - Method in class org.jdrupes.keycloak.moodleauth.MoodleAuthenticator
Called when the form has been submitted.
asQueryValue() - Method in class org.jdrupes.keycloak.moodleauth.moodle.service.CommaSeparatedValues
Returns the string to use as value in a query.
asQueryValue() - Method in interface org.jdrupes.keycloak.moodleauth.moodle.service.QueryValueEncoder
Returns the string to use as value in a query.
authenticate(AuthenticationFlowContext) - Method in class org.jdrupes.keycloak.moodleauth.MoodleAuthenticator
Start the authentication by creating the form.

C

clear() - Method in class org.jdrupes.keycloak.moodleauth.moodle.service.Password
Clear the stored password.
client - Variable in class org.jdrupes.keycloak.moodleauth.moodle.RestAction
 
close() - Method in class org.jdrupes.keycloak.moodleauth.moodle.MoodleClientConnection
 
close() - Method in class org.jdrupes.keycloak.moodleauth.moodle.RestClient
 
close() - Method in interface org.jdrupes.keycloak.moodleauth.moodle.service.MoodleClient
 
close() - Method in class org.jdrupes.keycloak.moodleauth.MoodleAuthenticator
Not documented by keycloak.
close() - Method in class org.jdrupes.keycloak.moodleauth.MoodleAuthenticatorFactory
 
CommaSeparatedValues - Class in org.jdrupes.keycloak.moodleauth.moodle.service
Wraps a collection to enforce non-standard encoding in a query.
CommaSeparatedValues(Collection<?>) - Constructor for class org.jdrupes.keycloak.moodleauth.moodle.service.CommaSeparatedValues
Instantiates a new object.
compareTo(char[]) - Method in class org.jdrupes.keycloak.moodleauth.moodle.service.Password
Compare to a given char array.
compareTo(String) - Method in class org.jdrupes.keycloak.moodleauth.moodle.service.Password
Compare to a given string.
configuredFor(KeycloakSession, RealmModel, UserModel) - Method in class org.jdrupes.keycloak.moodleauth.MoodleAuthenticator
Is this authenticator configured for this user.
connect(String, String, Password) - Method in class org.jdrupes.keycloak.moodleauth.moodle.MoodleServiceProvider
 
connect(String, String, Password) - Method in interface org.jdrupes.keycloak.moodleauth.moodle.service.MoodleService
Attempts to establish a connection to the server.
create(KeycloakSession) - Method in class org.jdrupes.keycloak.moodleauth.MoodleAuthenticatorFactory
 
cutOffDate() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleParticipantInfo
Cut off date.

D

dueDate() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleParticipantInfo
Due date.

E

encodeData(Map<String, Object>) - Static method in class org.jdrupes.keycloak.moodleauth.moodle.RestClient
Encodes the map following the non-standard conventions of PHP’s http_build_query
encodeStream(Stream<Map.Entry<String, Object>>, String) - Static method in class org.jdrupes.keycloak.moodleauth.moodle.RestClient
Used by RestClient.encodeData(Map) and recursively invoked as required.
equals(Object) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleUser
 
equals(Object) - Method in class org.jdrupes.keycloak.moodleauth.moodle.service.Password
 
error() - Method in exception class org.jdrupes.keycloak.moodleauth.moodle.MoodleException
Returns the error reported by moodle.
errorCode() - Method in exception class org.jdrupes.keycloak.moodleauth.moodle.MoodleException
Returns the error code reported by moodle.
exception() - Method in exception class org.jdrupes.keycloak.moodleauth.moodle.MoodleException
Return the exception provided by moodle.

G

getAssignmentId() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleParticipantInfo
 
getConfigProperties() - Method in class org.jdrupes.keycloak.moodleauth.MoodleAuthenticatorFactory
 
getCutoffdate() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleParticipantInfo
 
getDisplayType() - Method in class org.jdrupes.keycloak.moodleauth.MoodleAuthenticatorFactory
 
getDuedate() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleParticipantInfo
 
getEmail() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleUser
 
getError() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleErrorValues
 
getErrorcode() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleErrorValues
 
getException() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleErrorValues
 
getFirstname() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleSiteInfo
 
getFirstname() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleUser
 
getFullname() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleSiteInfo
 
getFullname() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleUser
 
getHelpText() - Method in class org.jdrupes.keycloak.moodleauth.MoodleAuthenticatorFactory
 
getId() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleParticipantInfo
 
getId() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleUser
 
getId() - Method in class org.jdrupes.keycloak.moodleauth.MoodleAuthenticatorFactory
 
getLang() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleSiteInfo
 
getLastname() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleSiteInfo
 
getLastname() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleUser
 
getMessage() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleErrorValues
 
getPrivatetoken() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleTokens
Gets the privatetoken.
getReferenceCategory() - Method in class org.jdrupes.keycloak.moodleauth.MoodleAuthenticatorFactory
 
getRequirementChoices() - Method in class org.jdrupes.keycloak.moodleauth.MoodleAuthenticatorFactory
 
getSitename() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleSiteInfo
 
getToken() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleTokens
Gets the token.
getUsername() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleSiteInfo
 
getUsers() - Method in class org.jdrupes.keycloak.moodleauth.moodle.actions.MoodleUserByName.ResultWrapper
 

H

hashCode() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleUser
 
hashCode() - Method in class org.jdrupes.keycloak.moodleauth.moodle.service.Password
Passwords shouldn’t be used in sets or as keys.

I

init(Config.Scope) - Method in class org.jdrupes.keycloak.moodleauth.MoodleAuthenticatorFactory
 
invoke() - Method in class org.jdrupes.keycloak.moodleauth.moodle.actions.MoodleGetSiteInfo
Invoke the action.
invoke(Class<T>, Map<String, Object>, Map<String, Object>) - Method in class org.jdrupes.keycloak.moodleauth.moodle.RestClient
Invoke a request with the parameters specified.
invoke(String) - Method in class org.jdrupes.keycloak.moodleauth.moodle.actions.MoodleUserByName
Invoke the action.
invoke(String, Map<String, Object>) - Method in class org.jdrupes.keycloak.moodleauth.moodle.MoodleClientConnection
 
invoke(String, Map<String, Object>) - Method in interface org.jdrupes.keycloak.moodleauth.moodle.service.MoodleClient
Invoke some function.
isConfigurable() - Method in class org.jdrupes.keycloak.moodleauth.MoodleAuthenticatorFactory
 
isRequiregrading() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleParticipantInfo
 
isSubmitted() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleParticipantInfo
 
isUserSetupAllowed() - Method in class org.jdrupes.keycloak.moodleauth.MoodleAuthenticatorFactory
Checks if is user setup allowed (it isn’t for this provider).

M

mapper - Static variable in class org.jdrupes.keycloak.moodleauth.moodle.RestClient
 
message() - Method in exception class org.jdrupes.keycloak.moodleauth.moodle.MoodleException
Returns the message provided by moodle.
MOODLE_URL - Static variable in class org.jdrupes.keycloak.moodleauth.MoodleAuthenticatorFactory
 
MoodleAuthenticator - Class in org.jdrupes.keycloak.moodleauth
The Class MoodleAuthenticator.
MoodleAuthenticator() - Constructor for class org.jdrupes.keycloak.moodleauth.MoodleAuthenticator
 
MoodleAuthenticatorFactory - Class in org.jdrupes.keycloak.moodleauth
 
MoodleAuthenticatorFactory() - Constructor for class org.jdrupes.keycloak.moodleauth.MoodleAuthenticatorFactory
 
MoodleAuthFailedException - Exception Class in org.jdrupes.keycloak.moodleauth.moodle.service
Indicates an authentication failure.
MoodleAuthFailedException(String) - Constructor for exception class org.jdrupes.keycloak.moodleauth.moodle.service.MoodleAuthFailedException
Instantiates a new instance.
MoodleClient - Interface in org.jdrupes.keycloak.moodleauth.moodle.service
Represents the client side of a connection to a moodle server.
MoodleClientConnection - Class in org.jdrupes.keycloak.moodleauth.moodle
Represents an open connection to a moodle instance.
MoodleClientConnection(URI, RestClient, MoodleUser, MoodleSiteInfo) - Constructor for class org.jdrupes.keycloak.moodleauth.moodle.MoodleClientConnection
Instantiates a new moodle client connection.
MoodleErrorValues - Class in org.jdrupes.keycloak.moodleauth.moodle.model
A base class that can hold values returned in case of errors.
MoodleErrorValues() - Constructor for class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleErrorValues
 
MoodleException - Exception Class in org.jdrupes.keycloak.moodleauth.moodle
Represents a moodle exception
MoodleException(MoodleErrorValues) - Constructor for exception class org.jdrupes.keycloak.moodleauth.moodle.MoodleException
Instantiates a new moodle exception.
MoodleGetSiteInfo - Class in org.jdrupes.keycloak.moodleauth.moodle.actions
Get the site info.
MoodleGetSiteInfo(RestClient) - Constructor for class org.jdrupes.keycloak.moodleauth.moodle.actions.MoodleGetSiteInfo
Creates the action.
MoodleParticipantInfo - Class in org.jdrupes.keycloak.moodleauth.moodle.model
Models the participant specific info of a user.
MoodleParticipantInfo() - Constructor for class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleParticipantInfo
 
MoodleService - Interface in org.jdrupes.keycloak.moodleauth.moodle.service
Represents the client side of a connection to a moodle server.
MoodleServiceProvider - Class in org.jdrupes.keycloak.moodleauth.moodle
Represents an open connection to a moodle instance.
MoodleServiceProvider() - Constructor for class org.jdrupes.keycloak.moodleauth.moodle.MoodleServiceProvider
 
MoodleSiteInfo - Class in org.jdrupes.keycloak.moodleauth.moodle.model
Models the siet info
MoodleSiteInfo() - Constructor for class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleSiteInfo
 
MoodleTokens - Class in org.jdrupes.keycloak.moodleauth.moodle.model
Models the result of a Moodle token request.
MoodleTokens() - Constructor for class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleTokens
 
moodleUser() - Method in class org.jdrupes.keycloak.moodleauth.moodle.MoodleClientConnection
 
moodleUser() - Method in interface org.jdrupes.keycloak.moodleauth.moodle.service.MoodleClient
The authenticated moodle user.
MoodleUser - Class in org.jdrupes.keycloak.moodleauth.moodle.model
Models a Moodle user with the properties required in this context.
MoodleUser() - Constructor for class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleUser
 
MoodleUserByName - Class in org.jdrupes.keycloak.moodleauth.moodle.actions
Find a user by his (login) name.
MoodleUserByName(RestClient) - Constructor for class org.jdrupes.keycloak.moodleauth.moodle.actions.MoodleUserByName
Creates the action.
MoodleUserByName.ResultWrapper - Class in org.jdrupes.keycloak.moodleauth.moodle.actions
Must be public in order for the JSON decoder to work.

O

org.jdrupes.keycloak.moodleauth - package org.jdrupes.keycloak.moodleauth
 
org.jdrupes.keycloak.moodleauth.moodle - package org.jdrupes.keycloak.moodleauth.moodle
Provides the connection to Moodle.
org.jdrupes.keycloak.moodleauth.moodle.actions - package org.jdrupes.keycloak.moodleauth.moodle.actions
 
org.jdrupes.keycloak.moodleauth.moodle.model - package org.jdrupes.keycloak.moodleauth.moodle.model
 
org.jdrupes.keycloak.moodleauth.moodle.service - package org.jdrupes.keycloak.moodleauth.moodle.service
 

P

password() - Method in class org.jdrupes.keycloak.moodleauth.moodle.service.Password
Returns the stored password.
Password - Class in org.jdrupes.keycloak.moodleauth.moodle.service
Stores a password in such a way that it can be cleared.
Password(char[]) - Constructor for class org.jdrupes.keycloak.moodleauth.moodle.service.Password
Instantiates a new password representation.
postInit(KeycloakSessionFactory) - Method in class org.jdrupes.keycloak.moodleauth.MoodleAuthenticatorFactory
 

Q

QueryValueEncoder - Interface in org.jdrupes.keycloak.moodleauth.moodle.service
Implemented by objects that provide their own encoding as query values.

R

requiresUser() - Method in class org.jdrupes.keycloak.moodleauth.MoodleAuthenticator
User does not have to been identified, because this is a combined login/auto registration form.
RestAction - Class in org.jdrupes.keycloak.moodleauth.moodle
Base class for rest actions.
RestAction(RestClient) - Constructor for class org.jdrupes.keycloak.moodleauth.moodle.RestAction
Instantiates a new rest action.
RestClient - Class in org.jdrupes.keycloak.moodleauth.moodle
A class for invoking REST services.
RestClient(URI) - Constructor for class org.jdrupes.keycloak.moodleauth.moodle.RestClient
Instantiates a new rest client.
RestClient(URI, Map<String, Object>) - Constructor for class org.jdrupes.keycloak.moodleauth.moodle.RestClient
Instantiates a new rest client.
ResultWrapper() - Constructor for class org.jdrupes.keycloak.moodleauth.moodle.actions.MoodleUserByName.ResultWrapper
 

S

setAssignmentId(long) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleParticipantInfo
 
setCutoffdate(long) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleParticipantInfo
 
setDefaultParams(Map<String, Object>) - Method in class org.jdrupes.keycloak.moodleauth.moodle.RestClient
Sets the default params.
setDuedate(long) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleParticipantInfo
 
setEmail(String) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleUser
 
setError(String) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleErrorValues
 
setErrorcode(String) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleErrorValues
 
setException(String) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleErrorValues
 
setFirstname(String) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleSiteInfo
 
setFirstname(String) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleUser
 
setFullname(String) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleSiteInfo
 
setFullname(String) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleUser
 
setId(long) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleParticipantInfo
 
setId(long) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleUser
 
setLang(String) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleSiteInfo
 
setLastname(String) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleSiteInfo
 
setLastname(String) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleUser
 
setMessage(String) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleErrorValues
 
setPrivatetoken(String) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleTokens
 
setRequiredActions(KeycloakSession, RealmModel, UserModel) - Method in class org.jdrupes.keycloak.moodleauth.MoodleAuthenticator
Never called because MoodleAuthenticatorFactory.isUserSetupAllowed() returns false.
setRequiregrading(boolean) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleParticipantInfo
 
setSitename(String) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleSiteInfo
 
setSubmitted(boolean) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleParticipantInfo
 
setToken(String) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleTokens
 
setUri(URI) - Method in class org.jdrupes.keycloak.moodleauth.moodle.RestClient
 
setUsername(String) - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleSiteInfo
 
setUsers(MoodleUser[]) - Method in class org.jdrupes.keycloak.moodleauth.moodle.actions.MoodleUserByName.ResultWrapper
 
siteInfo() - Method in class org.jdrupes.keycloak.moodleauth.moodle.MoodleClientConnection
 
siteInfo() - Method in interface org.jdrupes.keycloak.moodleauth.moodle.service.MoodleClient
The site info (includes information about the user)

T

toString() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleParticipantInfo
 
toString() - Method in class org.jdrupes.keycloak.moodleauth.moodle.model.MoodleUser
 
toString() - Method in exception class org.jdrupes.keycloak.moodleauth.moodle.MoodleException
 
toString() - Method in class org.jdrupes.keycloak.moodleauth.moodle.service.Password
Return “(hidden)”.

U

uri() - Method in class org.jdrupes.keycloak.moodleauth.moodle.RestClient
 
A C D E G H I M O P Q R S T U 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form