blob: fe4338c120c93a89a2693074e9ac8839e3b3403b [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @author Alexander V. Astapchuk
*/
package org.apache.harmony.auth;
/**
* A principal which holds information about user's group basing on group's sid.
*/
public class NTSidGroupPrincipal extends NTSid {
private static final long serialVersionUID = -1181422254891703071L;
/**
* A constructor which takes group SID as its only argument.
* @param sid group SID
*/
public NTSidGroupPrincipal(String sid) {
super(sid);
}
/**
* A constructor which takes an extended set of information - group SID,
* its name and its domain name
* @param sid group SID
* @param objName group name
* @param objDomain name of group's domain
*/
public NTSidGroupPrincipal(String sid, String objName, String objDomain) {
super(sid, objName, objDomain);
}
}