本文整理了Java中net.jradius.packet.attribute.AttributeList.<init>()
方法的一些代码示例,展示了AttributeList.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AttributeList.<init>()
方法的具体详情如下:
包路径:net.jradius.packet.attribute.AttributeList
类名称:AttributeList
方法名:<init>
[英]Default constructor
[中]默认构造函数
代码示例来源:origin: net.jradius/jradius-core
/**
* @param type The type of the attribute
* @param value The value of the attribute
* @return Returns the newly created AttributeList
*/
public static AttributeList newAttributeList(long type, byte[] value, boolean pool)
{
AttributeList list = new AttributeList();
addToAttributeList(list, type, value, pool);
return list;
}
代码示例来源:origin: coova/jradius
/**
* @param type The type of the attribute
* @param value The value of the attribute
* @return Returns the newly created AttributeList
*/
public static AttributeList newAttributeList(long type, byte[] value, boolean pool)
{
AttributeList list = new AttributeList();
addToAttributeList(list, type, value, pool);
return list;
}
代码示例来源:origin: com.hynnet/jradius-example
String line;
attrList = new AttributeList();
代码示例来源:origin: coova/jradius
String line;
attrList = new AttributeList();
代码示例来源:origin: OpenNMS/opennms
public void addToInner(RadiusAttribute attribute) {
if (hasNoInnerAttributes()){
setInnerAttributes(new AttributeList());
}
m_innerAttributes.add(attribute);
}
代码示例来源:origin: OpenNMS/opennms
AttributeList attributeList = new AttributeList();
attributeList.add(new Attr_UserName(username));
attributeList.add(new Attr_UserPassword(password));
代码示例来源:origin: net.jradius/jradius-core
AttributeList configItems = new AttributeList();
format.unpackAttributes(configItems, buffer, (int) length, true);
代码示例来源:origin: coova/jradius
AttributeList configItems = new AttributeList();
format.unpackAttributes(configItems, buffer, (int) length, true);
代码示例来源:origin: OpenNMS/opennms
@Override
public CompositeAttributeLists getRequest() {
final AttributeList attributes = new AttributeList();
attributes.add(new Attr_UserName(user));
attributes.add(new Attr_NASIdentifier(nasID));
attributes.add(new Attr_UserPassword(password));
return new CompositeAttributeLists(attributes);
}
代码示例来源:origin: coova/jradius
AttributeList attributes = new AttributeList();
active = loadAttributes(attributes, in);
if (attributes.getSize() == 0) continue;
代码示例来源:origin: com.hynnet/jradius-example
RadiusClient rc = new RadiusClient(host, "test", 1812, 1813, 1000);
AttributeList attrs = new AttributeList();
attrs.add(new Attr_UserName("test"));
attrs.add(new Attr_NASPortType(Attr_NASPortType.Wireless80211));
代码示例来源:origin: coova/jradius
RadiusClient rc = new RadiusClient(host, "test", 1812, 1813, 1000);
AttributeList attrs = new AttributeList();
attrs.add(new Attr_UserName("test"));
attrs.add(new Attr_NASPortType(Attr_NASPortType.Wireless80211));
代码示例来源:origin: com.hynnet/jradius-extended
AttributeList[] authAttributes = { new AttributeList(), new AttributeList() };
AttributeList[] acctAttributes = { new AttributeList(), new AttributeList(), new AttributeList(), new AttributeList() };
代码示例来源:origin: coova/jradius
request.setConfigItems(new AttributeList());
代码示例来源:origin: com.hynnet/jradius-extended
request.setConfigItems(new AttributeList());
代码示例来源:origin: net.jradius/jradius-extended
request.setConfigItems(new AttributeList());
代码示例来源:origin: org.apereo.cas/cas-server-support-radius-core
@Override
public final CasRadiusResponse authenticate(final String username, final String password, final Optional state) throws Exception {
val attributeList = new AttributeList();
代码示例来源:origin: OpenNMS/opennms
final AttributeList attributes = new AttributeList();
attributes.add(new Attr_UserName(user));
attributes.add(new Attr_NASIdentifier(nasid));
ttlsAuth.setInnerProtocol(innerProtocol);
AttributeList attrs = new AttributeList();
attrs.add(new Attr_UserName(innerUser));
attrs.add(new Attr_Password(password));
代码示例来源:origin: org.jasig.cas/cas-server-support-radius
@Override
public RadiusResponse authenticate(final String username, final String password) throws PreventedException {
final AttributeList attributeList = new AttributeList();
代码示例来源:origin: coova/jradius
AttributeList attributes = new AttributeList();
active = loadAttributes(attributes, in);
if (attributes.getSize() == 0) continue;
AttributeList attrs = new AttributeList();
active = loadAttributes(attrs, in);
((TunnelAuthenticator)auth).setTunneledAttributes(attrs);
内容来源于网络,如有侵权,请联系作者删除!