public class UnlockPrivateKeys
extends net.shibboleth.idp.profile.AbstractProfileAction
MutableCredential objects.
An error event will be signaled after the first unsuccessful unlock operation.
EventIds.PROCEED_EVENT_ID, EventIds.INVALID_PROFILE_CTX, EventIds.INVALID_MESSAGE| Modifier and Type | Field and Description |
|---|---|
private Collection<MutableCredential> |
credentials
Credentials to operate on.
|
static String |
KEY_PASSWORD_PARAM_NAME
Name of private key password parameter.
|
private Collection<org.springframework.core.io.Resource> |
keyResources
Keys to load.
|
private Logger |
log
Class logger.
|
| Constructor and Description |
|---|
UnlockPrivateKeys()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(ProfileRequestContext profileRequestContext) |
protected void |
doInitialize() |
protected boolean |
doPreExecute(ProfileRequestContext profileRequestContext) |
void |
setCredentials(Collection<MutableCredential> creds)
Set the credentials to load keys into.
|
void |
setKeyResources(Collection<org.springframework.core.io.Resource> keys)
Set the key resources to load.
|
doExecute, execute, getMessage, getMessage, getMessage, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategygetActivationCondition, setActivationConditiondoPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, doDestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, isInitialized@Nonnull @NotEmpty public static final String KEY_PASSWORD_PARAM_NAME
@Nonnull @NonnullElements private Collection<MutableCredential> credentials
@Nonnull @NonnullElements private Collection<org.springframework.core.io.Resource> keyResources
public void setCredentials(@Nullable@NonnullElements Collection<MutableCredential> creds)
creds - credentials to load keys intopublic void setKeyResources(@Nullable@NonnullElements Collection<org.springframework.core.io.Resource> keys)
keys - key resources to loadprotected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractInitializableComponentComponentInitializationExceptionprotected boolean doPreExecute(ProfileRequestContext profileRequestContext)
doPreExecute in class AbstractConditionalProfileActionprotected void doExecute(ProfileRequestContext profileRequestContext)
doExecute in class AbstractProfileActionCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.