[java-identity-provider COMMIT] /trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExternalAuthenticat...

noreply at shibboleth.net noreply at shibboleth.net
Sun Jun 22 15:58:55 EDT 2014


Author: scantor
Date: Sun Jun 22 15:58:55 2014
New Revision: 6148

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6148&view=rev
Log:
Add an accessor for the PRC.

Modified:
    trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExternalAuthenticationImpl.java

Modified: trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExternalAuthenticationImpl.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExternalAuthenticationImpl.java?rev=6148&r1=6147&r2=6148&view=diff
==============================================================================
--- trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExternalAuthenticationImpl.java (original)
+++ trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/ExternalAuthenticationImpl.java Sun Jun 22 15:58:55 2014
@@ -74,6 +74,15 @@
             @Nonnull final Function<ProfileRequestContext,RelyingPartyContext> strategy) {
         relyingPartyContextLookupStrategy =
                 Constraint.isNotNull(strategy, "RelyingPartyContext lookup strategy cannot be null");
+    }
+    
+    /**
+     * Get the profile request context for the request.
+     * 
+     * @return  current profile request context
+     */
+    @Nonnull public ProfileRequestContext getProfileRequestContext() {
+        return profileRequestContext;
     }
     
     /**



More information about the commits mailing list