/** * Set the end point where the provider is active * * @param url */ public void setEndPoint(String url) { serverManager.setOPEndpointUrl(url); }
/** * Set the end point where the provider is active * * @param url */ public void setEndPoint(String url) { serverManager.setOPEndpointUrl(url); }
/** * Set the end point where the provider is active * * @param url */ public void setEndPoint(String url) { serverManager.setOPEndpointUrl(url); }
public SampleServer(String endPointUrl) { manager.setOPEndpointUrl(endPointUrl); // for a working demo, not enforcing RP realm discovery // since this new feature is not deployed manager.getRealmVerifier().setEnforceRpId(false); }
public SampleServer(String endPointUrl) { manager.setOPEndpointUrl(endPointUrl); // for a working demo, not enforcing RP realm discovery // since this new feature is not deployed manager.getRealmVerifier().setEnforceRpId(false); }
public SampleServer(String endPointUrl) { manager.setOPEndpointUrl(endPointUrl); // for a working demo, not enforcing RP realm discovery // since this new feature is not deployed manager.getRealmVerifier().setEnforceRpId(false); }
public SampleServer(String endPointUrl) { manager.setOPEndpointUrl(endPointUrl); // for a working demo, not enforcing RP realm discovery // since this new feature is not deployed manager.getRealmVerifier().setEnforceRpId(false); }
public SampleServer(String endPointUrl) { manager.setOPEndpointUrl(endPointUrl); // for a working demo, not enforcing RP realm discovery // since this new feature is not deployed manager.getRealmVerifier().setEnforceRpId(false); }
/** * Configure the OpenID Provider's end-point URL */ private OpenIDProvider() { // This is the OpenID provider server URL opAddress = OpenIDUtil.getOpenIDServerURL(); // The URL which accepts OpenID Authentication requests, obtained by // performing discovery on the the User-Supplied Identifier. This value // must be an absolute URL manager.setOPEndpointUrl(opAddress); // default association expiry time is set to 15 minutes int assocExpiryTime = 15; String expiryTime = IdentityUtil.getProperty(IdentityConstants.ServerConfig.OPENID_ASSOCIATION_EXPIRY_TIME); if (expiryTime != null && !expiryTime.trim().isEmpty()) { try { assocExpiryTime = Integer.parseInt(expiryTime); } catch (NumberFormatException e) { log.warn("Error while setting association expiry time as " + expiryTime + ". Setting association expiry time to default ("+assocExpiryTime+")", e); } } manager.setExpireIn(assocExpiryTime); }
/** * Configure the OpenID Provider's end-point URL */ private OpenIDProvider() { // This is the OpenID provider server URL opAddress = OpenIDUtil.getOpenIDServerURL(); // The URL which accepts OpenID Authentication requests, obtained by // performing discovery on the the User-Supplied Identifier. This value // must be an absolute URL manager.setOPEndpointUrl(opAddress); // default association expiry time is set to 15 minutes int assocExpiryTime = 15; String expiryTime = IdentityUtil.getProperty(IdentityConstants.ServerConfig.OPENID_ASSOCIATION_EXPIRY_TIME); if (expiryTime != null && !expiryTime.trim().isEmpty()) { try { assocExpiryTime = Integer.parseInt(expiryTime); } catch (NumberFormatException e) { log.warn("Error while setting association expiry time as " + expiryTime + ". Setting association expiry time to default ("+assocExpiryTime+")", e); } } manager.setExpireIn(assocExpiryTime); }
String opEndpointUrl = location + "/protocol/" + getPath(); LOG.debug("OP endpoint URL: " + opEndpointUrl); serverManager.setOPEndpointUrl(opEndpointUrl); servletContext .setAttribute(getServiceManagerAttribute(), serverManager);
manager.setSharedAssociations(new InMemoryServerAssociationStore()); manager.setPrivateAssociations(new InMemoryServerAssociationStore()); manager.setOPEndpointUrl(request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + "/simple-openid/provider.jsp");
manager.setSharedAssociations(new InMemoryServerAssociationStore()); manager.setPrivateAssociations(new InMemoryServerAssociationStore()); manager.setOPEndpointUrl(request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + "/simple-openid/provider.jsp");
manager.setSharedAssociations(new InMemoryServerAssociationStore()); manager.setPrivateAssociations(new InMemoryServerAssociationStore()); manager.setOPEndpointUrl(request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + "/simple-openid/provider.jsp");
@RefreshScope @Bean public ServerManager serverManager() { val manager = new ServerManager(); manager.setOPEndpointUrl(casProperties.getServer().getLoginUrl()); manager.setEnforceRpId(casProperties.getAuthn().getOpenid().isEnforceRpId()); manager.setSharedAssociations(new InMemoryServerAssociationStore()); LOGGER.info("Creating openid server manager with OP endpoint [{}]", casProperties.getServer().getLoginUrl()); return manager; }