/** * Initialize the Shared Association and Private Association stores * * @param sharedAssociationStore a set of 2 association stores {@code ServerAssociationStore} * @throws {@code IllegalArgumentException} if the number of stores is not 2 */ public void initialize(ServerAssociationStore... sharedAssociationStore) { if (sharedAssociationStore == null || sharedAssociationStore.length == 0) { initialize(); return; } if (sharedAssociationStore.length != 2) throw new IllegalArgumentException("Number of association stores not equal to 2"); serverManager.setSharedAssociations(sharedAssociationStore[0]); serverManager.setPrivateAssociations(sharedAssociationStore[1]); }
/** * Initialize the Shared Association and Private Association stores * * @param sharedAssociationStore a set of 2 association stores {@code ServerAssociationStore} * @throws {@code IllegalArgumentException} if the number of stores is not 2 */ public void initialize(ServerAssociationStore... sharedAssociationStore) { if (sharedAssociationStore == null || sharedAssociationStore.length == 0) { initialize(); return; } if (sharedAssociationStore.length != 2) throw new IllegalArgumentException("Number of association stores not equal to 2"); serverManager.setSharedAssociations(sharedAssociationStore[0]); serverManager.setPrivateAssociations(sharedAssociationStore[1]); }
/** * Initialize the Shared Association and Private Association stores * * @param sharedAssociationStore a set of 2 association stores {@code ServerAssociationStore} * @throws {@code IllegalArgumentException} if the number of stores is not 2 */ public void initialize(ServerAssociationStore... sharedAssociationStore) { if (sharedAssociationStore == null || sharedAssociationStore.length == 0) { initialize(); return; } if (sharedAssociationStore.length != 2) throw new IllegalArgumentException("Number of association stores not equal to 2"); serverManager.setSharedAssociations(sharedAssociationStore[0]); serverManager.setPrivateAssociations(sharedAssociationStore[1]); }
super.setSharedAssociations(sharedAssociations);
super.setSharedAssociations(sharedAssociations);
/** * Initialize internal data structures */ public void initialize() { serverManager.setSharedAssociations(new InMemoryServerAssociationStore()); serverManager.setPrivateAssociations(new InMemoryServerAssociationStore()); }
/** * Initialize internal data structures */ public void initialize() { serverManager.setSharedAssociations(new InMemoryServerAssociationStore()); serverManager.setPrivateAssociations(new InMemoryServerAssociationStore()); }
/** * Initialize internal data structures */ public void initialize() { serverManager.setSharedAssociations(new InMemoryServerAssociationStore()); serverManager.setPrivateAssociations(new InMemoryServerAssociationStore()); }
.setSharedAssociations(new InMemoryServerAssociationStore()); serverManager .setPrivateAssociations(new InMemoryServerAssociationStore());
manager.setSharedAssociations(new InMemoryServerAssociationStore()); manager.setPrivateAssociations(new InMemoryServerAssociationStore()); manager.setOPEndpointUrl(request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
manager.setSharedAssociations(new InMemoryServerAssociationStore()); manager.setPrivateAssociations(new InMemoryServerAssociationStore()); manager.setOPEndpointUrl(request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
manager.setSharedAssociations(new InMemoryServerAssociationStore()); manager.setPrivateAssociations(new InMemoryServerAssociationStore()); manager.setOPEndpointUrl(request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
@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; }