[java-opensaml COMMIT] in /trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/logic: BrowserProfilePredica...

noreply at shibboleth.net noreply at shibboleth.net
Wed Oct 1 11:25:28 EDT 2014


Author: scantor
Date: Wed Oct  1 11:25:27 2014
New Revision: 4093

URL: http://svn.shibboleth.net/view/java-opensaml?rev=4093&view=rev
Log:
Add browser profile predicate.

Added:
    trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/logic/BrowserProfilePredicate.java   (with props)
Modified:
    trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/logic/IPRangePredicate.java
    trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/logic/NoIntegrityMessageChannelPredicate.java

Modified: trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/logic/IPRangePredicate.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/logic/IPRangePredicate.java?rev=4093&r1=4092&r2=4093&view=diff
==============================================================================
--- trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/logic/IPRangePredicate.java (original)
+++ trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/logic/IPRangePredicate.java Wed Oct  1 11:25:27 2014
@@ -73,6 +73,7 @@
     }
 
     /** {@inheritDoc} */
+    @Override
     public boolean apply(@Nullable final BaseContext input) {
         String address = httpRequest != null ? httpRequest.getRemoteAddr() : null;
         if (address == null || !InetAddresses.isInetAddress(address)) {

Modified: trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/logic/NoIntegrityMessageChannelPredicate.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/logic/NoIntegrityMessageChannelPredicate.java?rev=4093&r1=4092&r2=4093&view=diff
==============================================================================
--- trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/logic/NoIntegrityMessageChannelPredicate.java (original)
+++ trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/logic/NoIntegrityMessageChannelPredicate.java Wed Oct  1 11:25:27 2014
@@ -33,6 +33,7 @@
 public class NoIntegrityMessageChannelPredicate implements Predicate<ProfileRequestContext> {
 
     /** {@inheritDoc} */
+    @Override
     public boolean apply(@Nullable final ProfileRequestContext input) {
         return input == null || !input.getSubcontext(MessageChannelSecurityContext.class, true).isIntegrityActive();
     }



More information about the commits mailing list