public T getValue() throws IllegalStateException, IllegalArgumentException {
return (T) this;
}
private PicketLinkType createPicketLinkType(C configuration) {
PicketLinkType picketLinkType = new PicketLinkType();
picketLinkType.setStsType(createSTSType());
picketLinkType.setHandlers(new Handlers());
picketLinkType.setEnableAudit(true);
picketLinkType.setIdpOrSP((ProviderType) configuration);
return picketLinkType;
}