edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.principalConnector
Class CryptoTransientPrincipalConnector
java.lang.Object
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.AbstractResolutionPlugIn<String>
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.principalConnector.BasePrincipalConnector
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.principalConnector.CryptoTransientPrincipalConnector
- All Implemented Interfaces:
- PrincipalConnector, ResolutionPlugIn<String>
public class CryptoTransientPrincipalConnector
- extends BasePrincipalConnector
A principal connector that attempts to look up a name identifier within a store.
Field Summary |
private DataSealer |
dataSealer
Object used to protect and encrypt the data. |
private static org.slf4j.Logger |
log
Class logger. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static org.slf4j.Logger log
- Class logger.
dataSealer
private DataSealer dataSealer
- Object used to protect and encrypt the data.
CryptoTransientPrincipalConnector
public CryptoTransientPrincipalConnector(DataSealer sealer)
- Constructor.
- Parameters:
sealer
- object used to protect and encrypt the data
resolve
public String resolve(ShibbolethResolutionContext resolutionContext)
throws AttributeResolutionException
- Performs the attribute resolution for this plugin.
- Parameters:
resolutionContext
- the context for the resolution
- Returns:
- the attributes made available by the resolution, never null
- Throws:
AttributeResolutionException
- the problem that occurred during the resolution
validate
public void validate()
throws AttributeResolutionException
- Validate the internal state of this plug-in. This process may not rely on information from any dependency.
- Throws:
AttributeResolutionException
- if the plug-in has an invalid internal state
Copyright © 1999-2012. All Rights Reserved.