// Path: src/main/java/net/unicon/cas/addons/serviceregistry/RegisteredServiceWithAttributes.java
// public interface RegisteredServiceWithAttributes extends RegisteredService {
// 
//     Map<String, Object> getExtraAttributes();
// 
// }
// 
// Path: src/main/java/net/unicon/cas/addons/serviceregistry/services/RegisteredServicesPolicies.java
// public interface RegisteredServicesPolicies {
// 
// 	/**
// 	 * Policy method governing WebSSO session initiation based on the provided configuration attributes of a given
// 	 * <code>RegisteredServiceWithAttributes</code>
// 	 *
// 	 * @param registeredService for which to determine whether to initiate an SSO session or not
// 	 * @return true if a provided service is eligible for an SSO session initiation, false otherwise
// 	 */
// 	boolean ssoSessionInitiating(RegisteredServiceWithAttributes registeredService);
// }


import net.unicon.cas.addons.serviceregistry.RegisteredServiceWithAttributes;
import net.unicon.cas.addons.serviceregistry.services.RegisteredServicesPolicies;
package net.unicon.cas.addons.serviceregistry.services.internal;


/**
 * Default implementation of <code>RegisteredServicesPolicies</code>
 *
 * @author Dmitriy Kopylenko
 * @author Unicon, inc.
 * @since 1.2
 */
public class DefaultRegisteredServicesPolicies implements RegisteredServicesPolicies {

	public static final String SSO_INITIATION_ATTRIBUTE_KEY = "initiateSSO";

	@Override
// Path: src/main/java/net/unicon/cas/addons/serviceregistry/RegisteredServiceWithAttributes.java
// public interface RegisteredServiceWithAttributes extends RegisteredService {
// 
//     Map<String, Object> getExtraAttributes();
// 
// }
// 
// Path: src/main/java/net/unicon/cas/addons/serviceregistry/services/RegisteredServicesPolicies.java
// public interface RegisteredServicesPolicies {
// 
// 	/**
// 	 * Policy method governing WebSSO session initiation based on the provided configuration attributes of a given
// 	 * <code>RegisteredServiceWithAttributes</code>
// 	 *
// 	 * @param registeredService for which to determine whether to initiate an SSO session or not
// 	 * @return true if a provided service is eligible for an SSO session initiation, false otherwise
// 	 */
// 	boolean ssoSessionInitiating(RegisteredServiceWithAttributes registeredService);
// }


// Path: src/main/java/net/unicon/cas/addons/serviceregistry/services/internal/DefaultRegisteredServicesPolicies.java
import net.unicon.cas.addons.serviceregistry.RegisteredServiceWithAttributes;
import net.unicon.cas.addons.serviceregistry.services.RegisteredServicesPolicies;

package net.unicon.cas.addons.serviceregistry.services.internal;


/**
 * Default implementation of <code>RegisteredServicesPolicies</code>
 *
 * @author Dmitriy Kopylenko
 * @author Unicon, inc.
 * @since 1.2
 */
public class DefaultRegisteredServicesPolicies implements RegisteredServicesPolicies {

	public static final String SSO_INITIATION_ATTRIBUTE_KEY = "initiateSSO";

	@Override
	public boolean ssoSessionInitiating(RegisteredServiceWithAttributes registeredService) {