|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.picketlink.identity.federation.core.util.CoreConfigUtil
public class CoreConfigUtil
Utility for configuration
Constructor Summary | |
---|---|
CoreConfigUtil()
|
Method Summary | |
---|---|
static boolean |
decryptionNeeded(List<? extends KeyValueType> keyValueList)
Given a key value list, check if decrypt of any properties is needed. |
static String |
getIdentityURL(IDPSSODescriptorType idp,
String bindingURI)
Given a binding uri, get the IDP identity url |
static IDPSSODescriptorType |
getIDPDescriptor(EntitiesDescriptorType entitiesDescriptor)
Get the first metadata descriptor for an IDP |
static IDPSSODescriptorType |
getIDPDescriptor(EntityDescriptorType entityDescriptor)
Get the IDP metadata descriptor from an entity descriptor |
static IDPType |
getIDPType(IDPSSODescriptorType idpSSODescriptor)
Get the IDP Type |
static List<AuthPropertyType> |
getKeyProviderProperties(KeyProviderType keyProviderType)
Given a KeyProviderType , return the list of auth properties that have been decrypted for any masked password |
static List<EntityDescriptorType> |
getMetadataConfiguration(ProviderType providerType,
javax.servlet.ServletContext servletContext)
Read metadata from ProviderType |
static List<KeyValueType> |
getProperties(ClaimsProcessorType claimsProcessorType)
Given a ClaimsProcessorType , return the list of properties that have been decrypted for any masked property value |
static List<KeyValueType> |
getProperties(TokenProviderType tokenProviderType)
Given a TokenProviderType , return the list of properties that have been decrypted for any masked property value |
static String |
getServiceURL(SPSSODescriptorType sp,
String bindingURI)
Get the service url for the SP |
static SPType |
getSPConfiguration(EntitiesDescriptorType entitiesDescriptor,
String bindingURI)
Given a metadata EntityDescriptorType , construct the Service provider configuration |
static ProviderType |
getSPConfiguration(EntityDescriptorType entityDescriptor,
String bindingURI)
Given a metadata EntityDescriptorType , construct the Service provider configuration |
static SPSSODescriptorType |
getSPDescriptor(EntityDescriptorType entityDescriptor)
Get the SP Descriptor from an entity descriptor |
static TrustKeyManager |
getTrustKeyManager(KeyProviderType keyProvider)
Once the KeyProviderType is derived, get the TrustKeyManager |
static TrustKeyManager |
getTrustKeyManager(ProviderType idpOrSPConfiguration)
Given either the IDP Configuration or the SP Configuration, derive the TrustKeyManager |
static PublicKey |
getValidatingKey(ProviderType idpSpConfiguration,
String domain)
Get the validating key |
static PublicKey |
getValidatingKey(TrustKeyManager trustKeyManager,
String domain)
Get the validating key given the trust key manager |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CoreConfigUtil()
Method Detail |
---|
public static TrustKeyManager getTrustKeyManager(ProviderType idpOrSPConfiguration)
idpOrSPConfiguration
-
public static TrustKeyManager getTrustKeyManager(KeyProviderType keyProvider)
KeyProviderType
is derived, get the TrustKeyManager
keyProvider
-
public static PublicKey getValidatingKey(ProviderType idpSpConfiguration, String domain) throws ConfigurationException, ProcessingException
idpSpConfiguration
- domain
-
ConfigurationException
ProcessingException
public static PublicKey getValidatingKey(TrustKeyManager trustKeyManager, String domain) throws ConfigurationException, ProcessingException
trustKeyManager
- domain
-
ConfigurationException
ProcessingException
public static List<AuthPropertyType> getKeyProviderProperties(KeyProviderType keyProviderType) throws GeneralSecurityException
KeyProviderType
, return the list of auth properties that have been decrypted for any masked password
keyProviderType
-
GeneralSecurityException
public static List<KeyValueType> getProperties(TokenProviderType tokenProviderType) throws GeneralSecurityException
TokenProviderType
, return the list of properties that have been decrypted for any masked property value
tokenProviderType
-
GeneralSecurityException
public static List<KeyValueType> getProperties(ClaimsProcessorType claimsProcessorType) throws GeneralSecurityException
ClaimsProcessorType
, return the list of properties that have been decrypted for any masked property value
claimsProcessorType
-
GeneralSecurityException
public static boolean decryptionNeeded(List<? extends KeyValueType> keyValueList)
keyValueList
-
public static ProviderType getSPConfiguration(EntityDescriptorType entityDescriptor, String bindingURI)
EntityDescriptorType
, construct the Service provider configuration
entityDescriptor
- bindingURI
-
public static SPType getSPConfiguration(EntitiesDescriptorType entitiesDescriptor, String bindingURI)
EntityDescriptorType
, construct the Service provider configuration
entityDescriptor
- bindingURI
-
public static IDPSSODescriptorType getIDPDescriptor(EntitiesDescriptorType entitiesDescriptor)
entitiesDescriptor
-
public static IDPSSODescriptorType getIDPDescriptor(EntityDescriptorType entityDescriptor)
entityDescriptor
-
public static SPSSODescriptorType getSPDescriptor(EntityDescriptorType entityDescriptor)
entityDescriptor
-
public static String getIdentityURL(IDPSSODescriptorType idp, String bindingURI)
idp
- bindingURI
-
public static String getServiceURL(SPSSODescriptorType sp, String bindingURI)
sp
- bindingURI
-
public static IDPType getIDPType(IDPSSODescriptorType idpSSODescriptor)
idpSSODescriptor
-
public static List<EntityDescriptorType> getMetadataConfiguration(ProviderType providerType, javax.servlet.ServletContext servletContext)
providerType
- servletContext
-
|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |